diff options
author | rubidium <rubidium@openttd.org> | 2008-07-18 16:40:29 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2008-07-18 16:40:29 +0000 |
commit | cde65455acbc10a3f64bb9d43c03b37cdf9b1c55 (patch) | |
tree | 82319a3d42401c6d6fa4944e99863807f05c6f5f /src/player_func.h | |
parent | 56ad26a3aa231ede631d5bf8cf7e5132b2ff25a1 (diff) | |
download | openttd-cde65455acbc10a3f64bb9d43c03b37cdf9b1c55.tar.xz |
(svn r13731) -Codechange: make a pool of the array of players.
Diffstat (limited to 'src/player_func.h')
-rw-r--r-- | src/player_func.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/player_func.h b/src/player_func.h index 7c0e9de19..cc55f4661 100644 --- a/src/player_func.h +++ b/src/player_func.h @@ -27,11 +27,6 @@ static inline bool IsLocalPlayer() return _local_player == _current_player; } -static inline bool IsValidPlayerID(PlayerID pi) -{ - return IsInsideBS(pi, PLAYER_FIRST, MAX_PLAYERS); -} - static inline bool IsInteractivePlayer(PlayerID pi) { return pi == _local_player; |