diff options
Diffstat (limited to 'src/being/being.cpp')
-rw-r--r-- | src/being/being.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/being/being.cpp b/src/being/being.cpp index 76b9de904..d167f4408 100644 --- a/src/being/being.cpp +++ b/src/being/being.cpp @@ -2078,6 +2078,9 @@ void Being::drawEmotion(Graphics *restrict const graphics, const int offsetX, const int offsetY) const restrict2 { + if (mErased) + return; + const int px = mPixelX - offsetX - mapTileSize / 2; const int py = mPixelY - offsetY - mapTileSize * 2 - mapTileSize; if (mAnimationEffect) @@ -2119,6 +2122,8 @@ void Being::drawEmotion(Graphics *restrict const graphics, void Being::drawSpeech(const int offsetX, const int offsetY) restrict2 { + if (mErased) + return; if (mSpeech.empty()) return; |