summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r--src/actorspritemanager.h8
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.