summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
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;