summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-20 19:49:01 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-20 19:49:01 +0300
commit0cf09f63f5c626738f2dfdec82da876723b0db89 (patch)
treeb6b9d22c0b4cc2f51957355271eedbc26fd42aee /src/actormanager.cpp
parent682ae29f4861c1434db7f5f885cd5062d73b0d1a (diff)
downloadmanaplus-0cf09f63f5c626738f2dfdec82da876723b0db89.tar.gz
manaplus-0cf09f63f5c626738f2dfdec82da876723b0db89.tar.bz2
manaplus-0cf09f63f5c626738f2dfdec82da876723b0db89.tar.xz
manaplus-0cf09f63f5c626738f2dfdec82da876723b0db89.zip
Add explicit keyword into CardsList.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index 492922f85..1d4416482 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -2042,7 +2042,7 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing,
spriteId,
std::string(),
color,
- nullptr);
+ zeroCards);
}
const int hairSlot = charServerHandler->hairSprite();
const int hairStyle = -srcBeing->getSpriteID(hairSlot);
@@ -2053,7 +2053,7 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing,
hairStyle * -1,
ItemDB::get(-hairStyle).getDyeColorsString(hairColor),
ItemColor_one,
- nullptr);
+ zeroCards);
}
else
{
@@ -2061,7 +2061,7 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing,
0,
std::string(),
ItemColor_one,
- nullptr);
+ zeroCards);
}
dstBeing->setHairColor(hairColor);
return dstBeing;