summaryrefslogtreecommitdiff
path: root/src/object_base.h
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2010-09-03 21:50:51 +0000
committeryexo <yexo@openttd.org>2010-09-03 21:50:51 +0000
commita45b598bfcbbe46acbf9ea95d280fbf8d60a7b47 (patch)
tree4d7e1ca33587bc8097b6b596b789c0cc4f1ca639 /src/object_base.h
parentbd379e283f4730f11bc40e9c3b583b44f9bc0a0b (diff)
downloadopenttd-a45b598bfcbbe46acbf9ea95d280fbf8d60a7b47.tar.xz
(svn r20729) -Fix [FS#4107]: assert when overbuilding object
Diffstat (limited to 'src/object_base.h')
-rw-r--r--src/object_base.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/object_base.h b/src/object_base.h
index 1b814fa3f..fe889073b 100644
--- a/src/object_base.h
+++ b/src/object_base.h
@@ -17,6 +17,7 @@
#include "tilearea_type.h"
#include "town_type.h"
#include "date_type.h"
+#include "core/smallvec_type.hpp"
typedef Pool<Object, ObjectID, 64, 64000> ObjectPool;
extern ObjectPool _object_pool;
@@ -86,4 +87,6 @@ protected:
#define FOR_ALL_OBJECTS_FROM(var, start) FOR_ALL_ITEMS_FROM(Object, object_index, var, start)
#define FOR_ALL_OBJECTS(var) FOR_ALL_OBJECTS_FROM(var, 0)
+extern SmallVector<TileArea, 4> _cleared_object_areas;
+
#endif /* OBJECT_BASE_H */