diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-09-11 20:03:02 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-09-11 20:03:02 +0300 |
commit | 91fa2122a536770924bb2819bec4b79e76393d08 (patch) | |
tree | 93c0e191249b2158cf92a564630a4b16e9ccdcaa /src/map.cpp | |
parent | 1a524dc9468fe532bc060a73ef736a68687aadca (diff) | |
download | plus-91fa2122a536770924bb2819bec4b79e76393d08.tar.gz plus-91fa2122a536770924bb2819bec4b79e76393d08.tar.bz2 plus-91fa2122a536770924bb2819bec4b79e76393d08.tar.xz plus-91fa2122a536770924bb2819bec4b79e76393d08.zip |
Fix code style and small perfomance issues.
Diffstat (limited to 'src/map.cpp')
-rw-r--r-- | src/map.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/map.cpp b/src/map.cpp index 6d3d96fd9..29d9a6821 100644 --- a/src/map.cpp +++ b/src/map.cpp @@ -22,7 +22,6 @@ #include "map.h" -#include "actorspritemanager.h" #include "client.h" #include "configuration.h" @@ -706,7 +705,7 @@ Actors::iterator Map::addActor(Actor *const actor) return mActors.begin(); } -void Map::removeActor(Actors::iterator iterator) +void Map::removeActor(const Actors::iterator iterator) { mActors.erase(iterator); // mSpritesUpdated = true; |