diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-06 18:55:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-06 18:55:26 +0300 |
commit | a86bdc28fb8bc8a70c6a19523789495d87c7a56d (patch) | |
tree | 18ebdbac9d236a3358af836e70544f0da905ee45 /src/being/actorsprite.cpp | |
parent | c25141f02a5b3dcddcc93ca5d2bd2fcdad5efb31 (diff) | |
download | plus-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.tar.gz plus-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.tar.bz2 plus-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.tar.xz plus-a86bdc28fb8bc8a70c6a19523789495d87c7a56d.zip |
Add strong type bool type ForceDisplay.
Diffstat (limited to 'src/being/actorsprite.cpp')
-rw-r--r-- | src/being/actorsprite.cpp | 4 |
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()) { |