summaryrefslogtreecommitdiff
path: root/src/newgrf_debug_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-28 19:48:46 +0000
committerrubidium <rubidium@openttd.org>2010-08-28 19:48:46 +0000
commita8b992f4fd93429dad018ac77056bf5672c97528 (patch)
tree420d9c9a1d5410a55d4dcf4f14cac3e3802d33ce /src/newgrf_debug_gui.cpp
parent60655522ca6f97d0de3476b3d79e5b9d77e3812f (diff)
downloadopenttd-a8b992f4fd93429dad018ac77056bf5672c97528.tar.xz
(svn r20673) -Codechange: add support for inspecting objects
Diffstat (limited to 'src/newgrf_debug_gui.cpp')
-rw-r--r--src/newgrf_debug_gui.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/newgrf_debug_gui.cpp b/src/newgrf_debug_gui.cpp
index aba4d93bf..ef2802bf9 100644
--- a/src/newgrf_debug_gui.cpp
+++ b/src/newgrf_debug_gui.cpp
@@ -21,12 +21,14 @@
#include "engine_base.h"
#include "industry.h"
+#include "object_base.h"
#include "station_base.h"
#include "town.h"
#include "vehicle_base.h"
#include "newgrf_airporttiles.h"
#include "newgrf_debug.h"
+#include "newgrf_object.h"
#include "newgrf_spritegroup.h"
#include "newgrf_station.h"
#include "newgrf_town.h"
@@ -515,6 +517,7 @@ GrfSpecFeature GetGrfSpecFeature(TileIndex tile)
case MP_ROAD: return IsLevelCrossing(tile) ? GSF_RAILTYPES : GSF_INVALID;
case MP_HOUSE: return GSF_HOUSES;
case MP_INDUSTRY: return GSF_INDUSTRYTILES;
+ case MP_OBJECT: return GSF_OBJECTS;
case MP_STATION:
switch (GetStationType(tile)) {