diff options
Diffstat (limited to 'src/resources/map')
-rw-r--r-- | src/resources/map/map.cpp | 2 | ||||
-rw-r--r-- | src/resources/map/map.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/map/map.cpp b/src/resources/map/map.cpp index e1c7e6938..ddb657875 100644 --- a/src/resources/map/map.cpp +++ b/src/resources/map/map.cpp @@ -785,7 +785,7 @@ const MetaTile *Map::getMetaTile(const int x, const int y) const restrict2 return &mMetaTiles[x + y * mWidth]; } -Actors::iterator Map::addActor(Actor *restrict2 const actor) restrict2 +Actors::iterator Map::addActor(Actor *const actor) restrict2 { mActors.push_front(actor); // mSpritesUpdated = true; diff --git a/src/resources/map/map.h b/src/resources/map/map.h index e9bb405f4..b4495d11d 100644 --- a/src/resources/map/map.h +++ b/src/resources/map/map.h @@ -364,7 +364,7 @@ class Map final : public Properties, public ConfigListener /** * Adds an actor to the map. */ - Actors::iterator addActor(Actor *restrict2 const actor) restrict2; + Actors::iterator addActor(Actor *const actor) restrict2; /** * Removes an actor from the map. |