diff options
Diffstat (limited to 'src/industry_gui.cpp')
-rw-r--r-- | src/industry_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/industry_gui.cpp b/src/industry_gui.cpp index d1e16ada7..a5f853f13 100644 --- a/src/industry_gui.cpp +++ b/src/industry_gui.cpp @@ -419,7 +419,7 @@ public: void ShowBuildIndustryWindow() { - if (_game_mode != GM_EDITOR && !IsValidPlayer(_current_player)) return; + if (_game_mode != GM_EDITOR && !IsValidPlayerID(_current_player)) return; if (BringWindowToFrontById(WC_BUILD_INDUSTRY, 0)) return; new BuildIndustryWindow(); } |