|
|
@ -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> ¶meters)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|