summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 0cfd9571d..75be42fb3 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -2047,11 +2047,15 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing,
{
dstBeing->setSprite(hairSlot,
hairStyle * -1,
- ItemDB::get(-hairStyle).getDyeColorsString(hairColor));
+ ItemDB::get(-hairStyle).getDyeColorsString(hairColor),
+ ItemColor_one);
}
else
{
- dstBeing->setSprite(hairSlot, 0, std::string());
+ dstBeing->setSprite(hairSlot,
+ 0,
+ std::string(),
+ ItemColor_one);
}
dstBeing->setHairColor(hairColor);
return dstBeing;