summaryrefslogtreecommitdiff
path: root/src/engine.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2008-02-15 11:02:50 +0000
committerpeter1138 <peter1138@openttd.org>2008-02-15 11:02:50 +0000
commit359771c4065ece92c22c4f18285d457b3ab07de8 (patch)
tree0862da32a679761ca39154d12be330be40002036 /src/engine.h
parent7c528a6ab7d57c11ef0bac88ee426ce541bab8db (diff)
downloadopenttd-359771c4065ece92c22c4f18285d457b3ab07de8.tar.xz
(svn r12143) -Fix (r8038): Engine::preview_player does not contain a Player ID. Rename this to preview_player_rank and change back to a uint8 to avoid confusion.
Diffstat (limited to 'src/engine.h')
-rw-r--r--src/engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine.h b/src/engine.h
index 67ddf9996..9b44fdb9a 100644
--- a/src/engine.h
+++ b/src/engine.h
@@ -124,7 +124,7 @@ struct Engine {
uint16 duration_phase_1, duration_phase_2, duration_phase_3;
byte lifelength;
byte flags;
- PlayerByte preview_player;
+ uint8 preview_player_rank;
byte preview_wait;
byte player_avail;
VehicleType type; ///< type, ie VEH_ROAD, VEH_TRAIN, etc.