From 32014de9008efe051a1a8b05e5e976a4629b34d2 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 30 Jun 2011 23:14:59 +0300 Subject: Replace some lists to vectors. --- src/resources/spritedef.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/resources/spritedef.h') diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h index 424d88869..475ab2e25 100644 --- a/src/resources/spritedef.h +++ b/src/resources/spritedef.h @@ -30,6 +30,7 @@ #include #include #include +#include class Action; class ImageSet; @@ -56,11 +57,11 @@ struct SpriteDisplay { std::string image; std::string floor; - std::list sprites; - std::list particles; + std::vector sprites; + std::vector particles; }; -typedef std::list::const_iterator SpriteRefs; +typedef std::vector::const_iterator SpriteRefs; /* * Remember those are the main action. -- cgit v1.2.3-60-g2f50