diff options
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index cc85f9ee8..fed3a4d2c 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -278,10 +278,11 @@ void LocalPlayer::logic() { particleEngine->addTextRiseFadeOutEffect( info.first, - getPixelX(), - getPixelY() - 48, + CAST_S32(mPos.x), + CAST_S32(mPos.y) - 48, &userPalette->getColor(info.second), - gui->getInfoParticleFont(), true); + gui->getInfoParticleFont(), + true); } mMessages.pop_front(); |