summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortruelight <truelight@openttd.org>2005-08-11 19:21:46 +0000
committertruelight <truelight@openttd.org>2005-08-11 19:21:46 +0000
commit3988e173f8406040a20a850d4a828575f13bf41d (patch)
tree62e3a62b6e066724834c9a93d8de24ab01ae1bcf
parent3b95601d29f9e03a30f0c39fe24b9396c7fb7bad (diff)
downloadopenttd-3988e173f8406040a20a850d4a828575f13bf41d.tar.xz
(svn r2857) -Fix: PlayerID is not a valid type for a player-bit-field. Partly reverted r2290
-rw-r--r--engine.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/engine.h b/engine.h
index 711a625f6..772cb4d7d 100644
--- a/engine.h
+++ b/engine.h
@@ -82,10 +82,10 @@ typedef struct Engine {
uint16 duration_phase_1, duration_phase_2, duration_phase_3;
byte lifelength;
byte flags;
- PlayerID preview_player;
+ byte preview_player;
byte preview_wait;
byte railtype;
- PlayerID player_avail;
+ byte player_avail;
byte type; // type, ie VEH_Road, VEH_Train, etc. Same as in vehicle.h
} Engine;