summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 20:16:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 20:16:41 +0300
commit845a02e65d8077f4079724a106f75470984df8d2 (patch)
treee6ab2efdd3d408dbb235fc6b3f7591ac0b017a51 /src/actormanager.cpp
parent93e5a6fbfba642e4e3ff85dcf7bc3c02bada5649 (diff)
downloadmanaplus-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.cpp3
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);