criminal_case -> crime

develop
Quietust 2014-07-29 16:27:16 -05:00
parent d6162cd189
commit 88dfb1faef
1 changed files with 2 additions and 2 deletions

@ -28,7 +28,7 @@
#include "df/assumed_identity.h" #include "df/assumed_identity.h"
#include "df/language_name.h" #include "df/language_name.h"
#include "df/incident.h" #include "df/incident.h"
#include "df/criminal_case.h" #include "df/crime.h"
#include "df/unit_inventory_item.h" #include "df/unit_inventory_item.h"
#include "df/viewscreen_dwarfmodest.h" #include "df/viewscreen_dwarfmodest.h"
#include "df/viewscreen_layer_unit_actionst.h" #include "df/viewscreen_layer_unit_actionst.h"
@ -1217,7 +1217,7 @@ static command_result tweak(color_ostream &out, vector <string> &parameters)
{ {
death->flags.bits.discovered = true; death->flags.bits.discovered = true;
auto crime = df::criminal_case::find(death->crime_id); auto crime = df::crime::find(death->crime_id);
if (crime) if (crime)
crime->flags.bits.discovered = true; crime->flags.bits.discovered = true;
} }