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
commit235d84583f6424f077f42ff52d81dafa3921af2f (patch)
tree62e3a62b6e066724834c9a93d8de24ab01ae1bcf
parent61e97e733dc9b7e77e93f4bcbf8b9f820cfbfccb (diff)
downloadopenttd-235d84583f6424f077f42ff52d81dafa3921af2f.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;