@ -18,6 +18,7 @@ using namespace std;
# include "Console.h"
# include "Console.h"
# include "Export.h"
# include "Export.h"
# include "PluginManager.h"
# include "PluginManager.h"
# include "modules/Gui.h"
# include "modules/MapCache.h"
# include "modules/MapCache.h"
# include "MiscUtils.h"
# include "MiscUtils.h"
@ -575,7 +576,8 @@ command_result prospector (color_ostream &con, vector <string> & parameters)
CoreSuspender suspend ;
CoreSuspender suspend ;
// Embark screen active: estimate using world geology data
// Embark screen active: estimate using world geology data
if ( VIRTUAL_CAST_VAR ( screen , df : : viewscreen_choose_start_sitest , Core : : getTopViewscreen ( ) ) )
auto screen = Gui : : getViewscreenByType < df : : viewscreen_choose_start_sitest > ( 0 ) ;
if ( screen )
return embark_prospector ( con , screen , showHidden , showValue ) ;
return embark_prospector ( con , screen , showHidden , showValue ) ;
if ( ! Maps : : IsValid ( ) )
if ( ! Maps : : IsValid ( ) )