(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
This commit is contained in:
@@ -781,7 +781,7 @@ static const WindowDesc _scen_edit_town_gen_desc = {
|
||||
|
||||
void ShowBuildTownWindow()
|
||||
{
|
||||
if (_game_mode != GM_EDITOR && !IsValidPlayer(_current_player)) return;
|
||||
if (_game_mode != GM_EDITOR && !IsValidPlayerID(_current_player)) return;
|
||||
AllocateWindowDescFront<ScenarioEditorTownGenerationWindow>(&_scen_edit_town_gen_desc, 0);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user