diff options
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r-- | src/actorspritemanager.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/actorspritemanager.h b/src/actorspritemanager.h index 76364ea5..de674a78 100644 --- a/src/actorspritemanager.h +++ b/src/actorspritemanager.h @@ -31,9 +31,9 @@ class LocalPlayer; class Map; -typedef std::set<ActorSprite*> ActorSprites; -typedef ActorSprites::iterator ActorSpritesIterator; -typedef ActorSprites::const_iterator ActorSpritesConstIterator; +using ActorSprites = std::set<ActorSprite *>; +using ActorSpritesIterator = ActorSprites::iterator; +using ActorSpritesConstIterator = ActorSprites::const_iterator; class ActorSpriteManager { @@ -115,7 +115,7 @@ class ActorSpriteManager */ Being *findNearestLivingBeing(int x, int y, int maxTileDist, ActorSprite::Type type = Being::UNKNOWN, - Being *excluded = 0) const; + Being *excluded = nullptr) const; /** * Returns a being nearest to another being. |