summaryrefslogtreecommitdiff
path: root/src/being/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-05 00:26:43 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-05 00:26:43 +0300
commit9688b5ea674e17e1ba093f36a5be4d00a15f47b8 (patch)
treee519a24104035140180576ea77eff78707fda6f3 /src/being/localplayer.cpp
parent432896d05e39399b48d80f4e80b058f487f48112 (diff)
downloadmv-9688b5ea674e17e1ba093f36a5be4d00a15f47b8.tar.gz
mv-9688b5ea674e17e1ba093f36a5be4d00a15f47b8.tar.bz2
mv-9688b5ea674e17e1ba093f36a5be4d00a15f47b8.tar.xz
mv-9688b5ea674e17e1ba093f36a5be4d00a15f47b8.zip
Removing usage getters getActorX/getActorY from being and localplayer.
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r--src/being/localplayer.cpp7
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();