diff options
Diffstat (limited to 'src/resources/map/objectslayer.cpp')
-rw-r--r-- | src/resources/map/objectslayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/map/objectslayer.cpp b/src/resources/map/objectslayer.cpp index 0495f4e7a..a100b2c7d 100644 --- a/src/resources/map/objectslayer.cpp +++ b/src/resources/map/objectslayer.cpp @@ -64,7 +64,7 @@ void ObjectsLayer::addObject(const std::string &name, const int type, for (unsigned i = idx1; i < idx2; i ++) { if (!mTiles[i]) - mTiles[i] = new MapObjectList(); + mTiles[i] = new MapObjectList; mTiles[i]->objects.push_back(MapObject(type, name)); } } |