From 6898a76c5f80ef1aa65106f98d5e36002bc0ddda Mon Sep 17 00:00:00 2001 From: rubidium Date: Thu, 17 Jul 2008 20:13:01 +0000 Subject: (svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool. --- src/autoslope.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/autoslope.h') diff --git a/src/autoslope.h b/src/autoslope.h index d738f941c..025ed1347 100644 --- a/src/autoslope.h +++ b/src/autoslope.h @@ -39,7 +39,7 @@ static inline bool AutoslopeCheckForEntranceEdge(TileIndex tile, uint z_new, Slo static inline bool AutoslopeEnabled() { return (_settings_game.construction.autoslope && - ((IsValidPlayer(_current_player) && !_is_old_ai_player) || + ((IsValidPlayerID(_current_player) && !_is_old_ai_player) || (_current_player == OWNER_NONE && _game_mode == GM_EDITOR))); } -- cgit v1.2.3-70-g09d2