From 2c5f561a338d0db3fa68d72e65f41ab874fe30b0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 31 Jul 2014 13:41:30 +0300 Subject: Fix compilation warning. --- src/actormanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/actormanager.cpp') 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); -- cgit v1.2.3-70-g09d2