diff options
author | tron <tron@openttd.org> | 2005-09-30 20:37:25 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2005-09-30 20:37:25 +0000 |
commit | 980808dac2e87565a86a016966964249f8f5e263 (patch) | |
tree | 1e61685bece04279bd25b3f79e645384c1d83405 /players.c | |
parent | ee5d1ae5ece7730df119537701866664825f7dbc (diff) | |
download | openttd-980808dac2e87565a86a016966964249f8f5e263.tar.xz |
(svn r3001) s/Player*/const Player*/
s/byte/PlayerID/
s/int/PlayerID/
and related changes
Diffstat (limited to 'players.c')
-rw-r--r-- | players.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -185,7 +185,7 @@ void DrawPlayerFace(uint32 face, int color, int x, int y) } } -void InvalidatePlayerWindows(Player *p) +void InvalidatePlayerWindows(const Player *p) { PlayerID pid = p->index; @@ -568,7 +568,7 @@ void OnTick_Players(void) } // index is the next parameter in _decode_parameters to set up -StringID GetPlayerNameString(PlayerID player, PlayerID index) +StringID GetPlayerNameString(PlayerID player, uint index) { if (IS_HUMAN_PLAYER(player) && player < MAX_PLAYERS) { SetDParam(index, player+1); |