diff --git a/library/Core.cpp b/library/Core.cpp index 48fe48531..18801f4d9 100644 --- a/library/Core.cpp +++ b/library/Core.cpp @@ -61,6 +61,7 @@ using namespace DFHack; #include "df/world_data.h" #include "df/interfacest.h" #include "df/viewscreen_dwarfmodest.h" +#include "df/viewscreen_game_cleanerst.h" #include "df/viewscreen_loadgamest.h" #include "df/viewscreen_savegamest.h" #include @@ -1283,6 +1284,7 @@ void Core::doUpdate(color_ostream &out, bool first_update) } bool is_load_save = + strict_virtual_cast(screen) || strict_virtual_cast(screen) || strict_virtual_cast(screen);