summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-08 17:38:06 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-08 17:38:06 +0300
commitca23f86b2b1ae730d0511bb1613e5f4b7211c8d7 (patch)
tree729fbb5786bdf41ae8004e1850248ca2e890974c /src/actormanager.cpp
parent8cdbcd738db5477a72b8c7b11c4b0f160f5ac2b6 (diff)
downloadmv-ca23f86b2b1ae730d0511bb1613e5f4b7211c8d7.tar.gz
mv-ca23f86b2b1ae730d0511bb1613e5f4b7211c8d7.tar.bz2
mv-ca23f86b2b1ae730d0511bb1613e5f4b7211c8d7.tar.xz
mv-ca23f86b2b1ae730d0511bb1613e5f4b7211c8d7.zip
Remove default value from parameter isWeapon in Being->setSprite.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 75be42fb3..28e51e6cd 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -2048,14 +2048,16 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing,
dstBeing->setSprite(hairSlot,
hairStyle * -1,
ItemDB::get(-hairStyle).getDyeColorsString(hairColor),
- ItemColor_one);
+ ItemColor_one,
+ IsWeapon_false);
}
else
{
dstBeing->setSprite(hairSlot,
0,
std::string(),
- ItemColor_one);
+ ItemColor_one,
+ IsWeapon_false);
}
dstBeing->setHairColor(hairColor);
return dstBeing;