diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-03-30 02:05:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-01 03:11:26 +0300 |
commit | a39f63cdfa5ce15b22f294a8bb1db3a036ce462d (patch) | |
tree | 4de71bde947cae0cf5d3196cd97e82f5bc537c5c /src/actorspritemanager.cpp | |
parent | 02ec4369acfbf261236631e20dbb76131e7889f8 (diff) | |
download | manaverse-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.gz manaverse-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.bz2 manaverse-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.tar.xz manaverse-a39f63cdfa5ce15b22f294a8bb1db3a036ce462d.zip |
One part of fixes after auto checking.
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 af30b2fa6..eb0d1da38 100644 --- a/src/actorspritemanager.cpp +++ b/src/actorspritemanager.cpp @@ -1323,7 +1323,7 @@ void ActorSpriteManager::parseLevels(std::string levels) { levels += ", "; unsigned int f = 0; - unsigned long pos = 0; + std::string::size_type 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; - unsigned long bktPos = part.rfind("("); + std::string::size_type bktPos = part.rfind("("); if (bktPos != std::string::npos) { Being *being = findBeingByName(part.substr(0, bktPos), |