summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being/being.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp
index 27544496d..d78d8c2d0 100644
--- a/src/being/being.cpp
+++ b/src/being/being.cpp
@@ -2562,10 +2562,11 @@ void Being::drawSpritesSDL(Graphics *const graphics,
void Being::drawSpriteAt(Graphics *const graphics,
const int x, const int y) const
{
- CompoundSprite::draw(graphics, x, y);
-
if (!userPalette)
+ {
+ CompoundSprite::draw(graphics, x, y);
return;
+ }
if (mHighlightMapPortals &&
mMap &&
@@ -2606,6 +2607,8 @@ void Being::drawSpriteAt(Graphics *const graphics,
2 * attackRange + mapTileSize, 2 * attackRange + mapTileSize));
}
+ CompoundSprite::draw(graphics, x, y);
+
if (mShowMobHP && mInfo && localPlayer && localPlayer->getTarget() == this
&& mType == ActorType::Monster)
{