summaryrefslogtreecommitdiff
path: root/src/being/actorsprite.cpp
diff options
context:
space:
mode:
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())
{