(svn r13719) -Codechange: rename IsValidPlayer to IsValidPlayerID in line with all other structs/classes that are in a pool.
This commit is contained in:
@@ -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)));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user