diff options
Diffstat (limited to 'src/maplayer.cpp')
-rw-r--r-- | src/maplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maplayer.cpp b/src/maplayer.cpp index 2db140d67..7db90b956 100644 --- a/src/maplayer.cpp +++ b/src/maplayer.cpp @@ -850,7 +850,7 @@ ObjectsLayer::~ObjectsLayer() mTiles = nullptr; } -void ObjectsLayer::addObject(std::string name, const int type, +void ObjectsLayer::addObject(const std::string &name, const int type, const unsigned x, const unsigned y, unsigned dx, unsigned dy) { |