equal
deleted
inserted
replaced
417 } |
417 } |
418 }; |
418 }; |
419 |
419 |
420 void ShowBuildIndustryWindow() |
420 void ShowBuildIndustryWindow() |
421 { |
421 { |
422 if (_game_mode != GM_EDITOR && !IsValidPlayer(_current_player)) return; |
422 if (_game_mode != GM_EDITOR && !IsValidPlayerID(_current_player)) return; |
423 if (BringWindowToFrontById(WC_BUILD_INDUSTRY, 0)) return; |
423 if (BringWindowToFrontById(WC_BUILD_INDUSTRY, 0)) return; |
424 new BuildIndustryWindow(); |
424 new BuildIndustryWindow(); |
425 } |
425 } |
426 |
426 |
427 static void UpdateIndustryProduction(Industry *i); |
427 static void UpdateIndustryProduction(Industry *i); |