summaryrefslogtreecommitdiff
path: root/src/newgrf_engine.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-15 11:28:22 +0000
committerrubidium <rubidium@openttd.org>2007-05-15 11:28:22 +0000
commit23492f1f34bf45266e319d4f2c7e2ffcb8dc483c (patch)
tree5302883001c15ce5eca3dfd6a763cf1108b5e752 /src/newgrf_engine.cpp
parenta390db6941fa5911e92d39e2f926df16dc4af984 (diff)
downloadopenttd-23492f1f34bf45266e319d4f2c7e2ffcb8dc483c.tar.xz
(svn r9841) -Codechange: add a little more type strictness to the vehicle types.
Diffstat (limited to 'src/newgrf_engine.cpp')
-rw-r--r--src/newgrf_engine.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/newgrf_engine.cpp b/src/newgrf_engine.cpp
index f6ff61322..775e4dbe9 100644
--- a/src/newgrf_engine.cpp
+++ b/src/newgrf_engine.cpp
@@ -770,6 +770,8 @@ static uint32 VehicleGetVariable(const ResolverObject *object, byte variable, by
case 0x66: return MapAircraftMovementAction(v); // Current movement action
}
break;
+
+ default: break;
}
DEBUG(grf, 1, "Unhandled vehicle property 0x%X, type 0x%X", variable, v->type);