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
commitd1c741db4c2edda95b74a6f7ca67bf1b44715e8e (patch)
tree0862da32a679761ca39154d12be330be40002036 /src/engine.h
parent4164d2488fdc8fd5d08ae693fbe648eb9fd1ef69 (diff)
downloadopenttd-d1c741db4c2edda95b74a6f7ca67bf1b44715e8e.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.