diff options
author | Andrei Karas <akaras@inbox.ru> | 2010-06-20 23:10:02 +0300 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-06-20 18:02:28 -0400 |
commit | 75587e38bd6f3b91d46f3e10ccd195f26a00f098 (patch) | |
tree | 6ea7c1734392f3513ca920986acb7d59346ac065 /src/actorspritemanager.h | |
parent | ceab31510f4c419ba3d68b25633504890db483f6 (diff) | |
download | mana-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.h | 2 |
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; |