summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp4
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);