From 3bf4e26b1319295532bb4396cbd6406d85cbcae0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 29 Mar 2012 03:51:37 +0300 Subject: Replace vectors with strings to short names. --- src/resources/spritedef.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/resources/spritedef.cpp') diff --git a/src/resources/spritedef.cpp b/src/resources/spritedef.cpp index 95e05de93..8daee7e9b 100644 --- a/src/resources/spritedef.cpp +++ b/src/resources/spritedef.cpp @@ -324,10 +324,10 @@ void SpriteDef::loadAnimation(XmlNodePtr animationNode, } else { - std::vector vals; + StringVect vals; splitToStringVector(vals, value, ','); - std::vector::const_iterator it = vals.begin(); - std::vector::const_iterator it_end = vals.end(); + StringVectCIter it = vals.begin(); + StringVectCIter it_end = vals.end(); for (; it != it_end; ++ it) { std::string str = *it; -- cgit v1.2.3-60-g2f50