diff options
author | rubidium <rubidium@openttd.org> | 2007-08-31 19:49:31 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-08-31 19:49:31 +0000 |
commit | a8033758e7bcae1f48ea3575385c3cfcd1c10213 (patch) | |
tree | f6def7bd1eed8c85c9f87cfb95d7403a910c61aa | |
parent | dd60e3b7dd0756121c3634c113382fdb1ba1601d (diff) | |
download | openttd-a8033758e7bcae1f48ea3575385c3cfcd1c10213.tar.xz |
(svn r11023) -Fix [FS#1150]: Switching players (using the cheat) crashed on Big Endian machines.
-rw-r--r-- | src/player.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/player.h b/src/player.h index 6ecbbd7dc..dd87df7be 100644 --- a/src/player.h +++ b/src/player.h @@ -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 */ |