summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-06 18:55:26 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-06 18:55:26 +0300
commita86bdc28fb8bc8a70c6a19523789495d87c7a56d (patch)
tree18ebdbac9d236a3358af836e70544f0da905ee45 /src/being/actorsprite.cpp
parentc25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31 (diff)
downloadmanaplus-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.tar.gz
manaplus-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.tar.bz2
manaplus-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.tar.xz
manaplus-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.zip
Add strong type bool type ForceDisplay.
Diffstat (limited to 'src/being/actorsprite.cpp')
-rw-r--r--src/being/actorsprite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/actorsprite.cpp b/src/being/actorsprite.cpp
index b305b35a7..0def1ea5b 100644
--- a/src/being/actorsprite.cpp
+++ b/src/being/actorsprite.cpp
@@ -249,7 +249,7 @@ void ActorSprite::handleStatusEffect(const StatusEffect *const effect,
}
void ActorSprite::setupSpriteDisplay(const SpriteDisplay &display,
- const bool forceDisplay,
+ const ForceDisplay forceDisplay,
const int imageType,
const std::string &color)
{
@@ -267,7 +267,7 @@ void ActorSprite::setupSpriteDisplay(const SpriteDisplay &display,
}
// Ensure that something is shown, if desired
- if (empty() && forceDisplay)
+ if (empty() && forceDisplay == ForceDisplay_true)
{
if (display.image.empty())
{