(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 8d0804834c
commit c649f8e3cd

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 */