(svn r20729) -Fix [FS#4107]: assert when overbuilding object

This commit is contained in:
yexo
2010-09-03 21:50:51 +00:00
parent bd379e283f
commit a45b598bfc
5 changed files with 25 additions and 0 deletions

View File

@@ -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 */