summaryrefslogtreecommitdiff
path: root/player.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-10-20 17:43:13 +0000
committertron <tron@openttd.org>2005-10-20 17:43:13 +0000
commitd7cbd0d4c37bc60dc79f6d3cd4fbddd96b093e18 (patch)
tree904818203b322c8fca47da358ab42c2f254d2280 /player.h
parent6d16862126aad063a564c14c68254f89ac65d61e (diff)
downloadopenttd-d7cbd0d4c37bc60dc79f6d3cd4fbddd96b093e18.tar.xz
(svn r3073) int/byte -> EngineID/PlayerID/VehicleID
0/-1 -> INVALID_ENGINE 0x10 -> OWNER_NONE
Diffstat (limited to 'player.h')
-rw-r--r--player.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/player.h b/player.h
index cc613490f..0f228b8e9 100644
--- a/player.h
+++ b/player.h
@@ -219,7 +219,8 @@ static inline bool IsLocalPlayer(void)
return _local_player == _current_player;
}
-byte GetPlayerRailtypes(int p);
+void DeletePlayerWindows(PlayerID pi);
+byte GetPlayerRailtypes(PlayerID p);
/** Finds out if a Player has a certain railtype available
*/