From ed8c9c91d66f593dc3fae5cef4469ded311f6d75 Mon Sep 17 00:00:00 2001 From: tron Date: Fri, 30 Sep 2005 20:37:25 +0000 Subject: (svn r3001) s/Player*/const Player*/ s/byte/PlayerID/ s/int/PlayerID/ and related changes --- players.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'players.c') diff --git a/players.c b/players.c index 11f2cff28..e0ec098b1 100644 --- a/players.c +++ b/players.c @@ -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); -- cgit v1.2.3-54-g00ecf