summaryrefslogtreecommitdiff
path: root/src/actorspritemanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2010-06-20 23:10:02 +0300
committerChuck Miller <shadowmil@gmail.com>2010-06-20 18:02:28 -0400
commit75587e38bd6f3b91d46f3e10ccd195f26a00f098 (patch)
tree6ea7c1734392f3513ca920986acb7d59346ac065 /src/actorspritemanager.h
parentceab31510f4c419ba3d68b25633504890db483f6 (diff)
downloadmana-75587e38bd6f3b91d46f3e10ccd195f26a00f098.tar.gz
mana-75587e38bd6f3b91d46f3e10ccd195f26a00f098.tar.bz2
mana-75587e38bd6f3b91d46f3e10ccd195f26a00f098.tar.xz
mana-75587e38bd6f3b91d46f3e10ccd195f26a00f098.zip
Fix ActorSprite double deletion
Also replaces std::list to std::set in actorspritemanager. Reviewed-by: Chuck Miller <shadowmil@gmail.com>
Diffstat (limited to 'src/actorspritemanager.h')
-rw-r--r--src/actorspritemanager.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actorspritemanager.h b/src/actorspritemanager.h
index 93a2f4ed..d9d5b534 100644
--- a/src/actorspritemanager.h
+++ b/src/actorspritemanager.h
@@ -29,7 +29,7 @@
class LocalPlayer;
class Map;
-typedef std::list<ActorSprite*> ActorSprites;
+typedef std::set<ActorSprite*> ActorSprites;
typedef ActorSprites::iterator ActorSpritesIterator;
typedef ActorSprites::const_iterator ActorSpritesConstIterator;