diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-08 20:16:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-08 20:16:41 +0300 |
commit | 845a02e65d8077f4079724a106f75470984df8d2 (patch) | |
tree | e6ab2efdd3d408dbb235fc6b3f7591ac0b017a51 /src/actormanager.cpp | |
parent | 93e5a6fbfba642e4e3ff85dcf7bc3c02bada5649 (diff) | |
download | manaplus-845a02e65d8077f4079724a106f75470984df8d2.tar.gz manaplus-845a02e65d8077f4079724a106f75470984df8d2.tar.bz2 manaplus-845a02e65d8077f4079724a106f75470984df8d2.tar.xz manaplus-845a02e65d8077f4079724a106f75470984df8d2.zip |
Simplify set weapon sprite.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r-- | src/actormanager.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp index 2df8ef179..492922f85 100644 --- a/src/actormanager.cpp +++ b/src/actormanager.cpp @@ -2042,7 +2042,6 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, spriteId, std::string(), color, - IsWeapon_false, nullptr); } const int hairSlot = charServerHandler->hairSprite(); @@ -2054,7 +2053,6 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, hairStyle * -1, ItemDB::get(-hairStyle).getDyeColorsString(hairColor), ItemColor_one, - IsWeapon_false, nullptr); } else @@ -2063,7 +2061,6 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing, 0, std::string(), ItemColor_one, - IsWeapon_false, nullptr); } dstBeing->setHairColor(hairColor); |