summaryrefslogtreecommitdiff
path: root/newgrf_engine.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-06-14 11:05:30 +0000
committertron <tron@openttd.org>2006-06-14 11:05:30 +0000
commitd2f6cb9e2d26d8119bc59f5b8cfa52d20f7cd795 (patch)
treead23142e106dedc0fcb44dd7a183f059f36bbdb3 /newgrf_engine.c
parent17c15fab3efc4dfc7514bf89bbd9971abb178ea4 (diff)
downloadopenttd-d2f6cb9e2d26d8119bc59f5b8cfa52d20f7cd795.tar.xz
(svn r5262) Add symbolic names for the aircraft subtypes. not perfect, but better than raw numbers
Diffstat (limited to 'newgrf_engine.c')
-rw-r--r--newgrf_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/newgrf_engine.c b/newgrf_engine.c
index feb037f67..0c46cd548 100644
--- a/newgrf_engine.c
+++ b/newgrf_engine.c
@@ -850,7 +850,7 @@ SpriteID GetRotorOverrideSprite(EngineID engine, const Vehicle *v)
assert(engine < AIRCRAFT_ENGINES_INDEX + NUM_AIRCRAFT_ENGINES);
/* Only valid for helicopters */
- assert((AircraftVehInfo(engine)->subtype & 1) == 0);
+ assert(!(AircraftVehInfo(engine)->subtype & AIR_CTOL));
NewVehicleResolver(&object, v);