diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-01 21:21:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-01 22:13:44 +0300 |
commit | 41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6 (patch) | |
tree | 75a934dd456f4079898b77f17fc2e5da631ba761 /src/actormanager.cpp | |
parent | 33ef923235aeabd07308816bb07ef790cc6c1024 (diff) | |
download | mv-41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6.tar.gz mv-41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6.tar.bz2 mv-41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6.tar.xz mv-41ffafd17ad8f0a7ee060cc9f48bca04a1e16cb6.zip |
Fix code style.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index ba9576aa7..56230bdf5 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -1737,8 +1737,8 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, srcBeing->getTileY() + dy); dstBeing->setName(srcBeing->getName()); dstBeing->setDirection(srcBeing->getDirection()); - const size_t sz = srcBeing->getSpritesCount(); - for (size_t slot = 0; slot < sz; slot ++) + const int sz = static_cast<int>(srcBeing->getSpritesCount()); + for (int slot = 0; slot < sz; slot ++) { const int spriteId = srcBeing->getSpriteID(slot); const unsigned char color = srcBeing->getSpriteColor(slot); |