diff options
-rw-r--r-- | src/being.cpp | 2 | ||||
-rw-r--r-- | src/localplayer.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/being.cpp b/src/being.cpp index 2b31e9ec..37cb6987 100644 --- a/src/being.cpp +++ b/src/being.cpp @@ -448,7 +448,7 @@ void Being::takeDamage(Being *attacker, int amount, AttackType type) // Show damage number particleEngine->addTextSplashEffect(damage, - mPx + 16, mPy + 16, + mPx, mPy - 16, color, font, true); if (amount > 0) diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 7119bfc9..650de182 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -812,8 +812,8 @@ void LocalPlayer::setXp(int xp) // Show XP number particleEngine->addTextRiseFadeOutEffect( text, - getPixelX() + 16, - getPixelY() - 16, + getPixelX(), + getPixelY() - 48, &guiPalette->getColor(Palette::EXP_INFO), gui->getInfoParticleFont(), true); } @@ -829,8 +829,8 @@ void LocalPlayer::pickedUp(const std::string &item) // Show pickup notification particleEngine->addTextRiseFadeOutEffect( item, - getPixelX() + 16, - getPixelY() - 16, + getPixelX(), + getPixelY() - 48, &guiPalette->getColor(Palette::PICKUP_INFO), gui->getInfoParticleFont(), true); } |