diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-31 16:54:22 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-01 03:56:16 +0300 |
commit | 761682b6254a3d43e65ff45e07683c61afa6f1e4 (patch) | |
tree | 2ee462840f3aadb1e96bfa5c6784ec2cc0d2861a /src/actorspritemanager.cpp | |
parent | a39f63cdfa5ce15b22f294a8bb1db3a036ce462d (diff) | |
download | mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.gz mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.bz2 mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.tar.xz mv-761682b6254a3d43e65ff45e07683c61afa6f1e4.zip |
Last part of fixes.
Diffstat (limited to 'src/actorspritemanager.cpp')
-rw-r--r-- | src/actorspritemanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actorspritemanager.cpp b/src/actorspritemanager.cpp index eb0d1da38..89bc30cde 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -1323,7 +1323,7 @@ void ActorSpriteManager::parseLevels(std::string levels) { levels += ", "; unsigned int f = 0; - std::string::size_type pos = 0; + size_t pos = 0; const std::string brkEnd = "), "; pos = levels.find(brkEnd, f); @@ -1332,7 +1332,7 @@ void ActorSpriteManager::parseLevels(std::string levels) std::string part = levels.substr(f, pos - f); if (part.empty()) break; - std::string::size_type bktPos = part.rfind("("); + size_t bktPos = part.rfind("("); if (bktPos != std::string::npos) { Being *being = findBeingByName(part.substr(0, bktPos), |