mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-16 11:09:11 +00:00
(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
This commit is contained in:
@@ -179,6 +179,6 @@ static const WindowDesc _build_trees_desc = {
|
||||
|
||||
void ShowBuildTreesToolbar()
|
||||
{
|
||||
if (_game_mode != GM_EDITOR && !IsValidPlayer(_current_player)) return;
|
||||
if (_game_mode != GM_EDITOR && !IsValidPlayerID(_current_player)) return;
|
||||
AllocateWindowDescFront<BuildTreesWindow>(&_build_trees_desc, 0);
|
||||
}
|
||||
|
Reference in New Issue
Block a user