(svn r11023) -Fix [FS#1150]: Switching players (using the cheat) crashed on Big Endian machines.

This commit is contained in:
rubidium 2007-08-31 19:49:31 +00:00
parent dd60e3b7dd
commit a8033758e7
1 changed files with 2 additions and 2 deletions

View File

@ -217,8 +217,8 @@ void InvalidatePlayerWindows(const Player *p);
void SetLocalPlayer(PlayerID new_player);
#define FOR_ALL_PLAYERS(p) for (p = _players; p != endof(_players); p++)
VARDEF PlayerID _local_player;
VARDEF PlayerID _current_player;
VARDEF PlayerByte _local_player;
VARDEF PlayerByte _current_player;
VARDEF Player _players[MAX_PLAYERS];
/* NOSAVE: can be determined from player structs */