summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 14:30:28 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 14:30:28 +0300
commitc9a31afec60a5085e0a3dbd26c15db397730a768 (patch)
tree08fe6126f1c1405a62be00425601613f19841601 /src/actormanager.cpp
parentc43a3b024bf3da2b0c7b6eb177b662d63db41808 (diff)
downloadmanaplus-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.gz
manaplus-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.bz2
manaplus-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.xz
manaplus-c9a31afec60a5085e0a3dbd26c15db397730a768.zip
Add strong typed bool IsWeapon.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 82be50ea8..0cfd9571d 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -2038,7 +2038,7 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing,
{
const int spriteId = srcBeing->getSpriteID(slot);
const ItemColor color = srcBeing->getSpriteColor(slot);
- dstBeing->setSprite(slot, spriteId, "", color, false);
+ dstBeing->setSprite(slot, spriteId, "", color, IsWeapon_false);
}
const int hairSlot = charServerHandler->hairSprite();
const int hairStyle = -srcBeing->getSpriteID(hairSlot);