diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-31 13:41:30 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-31 13:41:30 +0300 |
commit | 2c5f561a338d0db3fa68d72e65f41ab874fe30b0 (patch) | |
tree | a37037fa9021e8207f26635db933e4640d0bd7a2 | |
parent | 3d32a17af9cdfffda1e1612afeef976fbe218212 (diff) | |
download | mv-2c5f561a338d0db3fa68d72e65f41ab874fe30b0.tar.gz mv-2c5f561a338d0db3fa68d72e65f41ab874fe30b0.tar.bz2 mv-2c5f561a338d0db3fa68d72e65f41ab874fe30b0.tar.xz mv-2c5f561a338d0db3fa68d72e65f41ab874fe30b0.zip |
Fix compilation warning.
-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 dd88bc7bb..ba9576aa7 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -1740,9 +1740,9 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, const size_t sz = srcBeing->getSpritesCount(); for (size_t slot = 0; slot < sz; slot ++) { - const int id = srcBeing->getSpriteID(slot); + const int spriteId = srcBeing->getSpriteID(slot); const unsigned char color = srcBeing->getSpriteColor(slot); - dstBeing->setSprite(slot, id, "", color, false); + dstBeing->setSprite(slot, spriteId, "", color, false); } const int hairSlot = Net::getCharServerHandler()->hairSprite(); const int hairStyle = -srcBeing->getSpriteID(hairSlot); |