diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 14:30:28 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 14:30:28 +0300 |
commit | c9a31afec60a5085e0a3dbd26c15db397730a768 (patch) | |
tree | 08fe6126f1c1405a62be00425601613f19841601 /src/actormanager.cpp | |
parent | c43a3b024bf3da2b0c7b6eb177b662d63db41808 (diff) | |
download | manaverse-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.gz manaverse-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.bz2 manaverse-c9a31afec60a5085e0a3dbd26c15db397730a768.tar.xz manaverse-c9a31afec60a5085e0a3dbd26c15db397730a768.zip |
Add strong typed bool IsWeapon.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 2 |
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); |