Infinite sky: get it to compile.

develop
expwnent 2013-01-05 16:30:48 -05:00
parent 471e82a88a
commit 4920293c2d
1 changed files with 1 additions and 1 deletions

@ -80,7 +80,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
return CR_OK; return CR_OK;
{ {
t_gamemodes mode; t_gamemodes mode;
if ( !Core::getInstance().getWorld()->ReadGameMode(mode) ) if ( !World::ReadGameMode(mode) )
return CR_FAILURE; return CR_FAILURE;
if ( mode.g_mode != df::enums::game_mode::DWARF ) if ( mode.g_mode != df::enums::game_mode::DWARF )
return CR_OK; return CR_OK;