diff options
Diffstat (limited to 'src/textparticle.h')
-rw-r--r-- | src/textparticle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/textparticle.h b/src/textparticle.h index 134405bb..34badb57 100644 --- a/src/textparticle.h +++ b/src/textparticle.h @@ -47,7 +47,7 @@ class TextParticle : public Particle // hack to improve text visibility virtual int getPixelY() const - { return (int) (mPosY + mPosZ); } + { return (int) (mPos.y + mPos.z); } private: std::string mText; /**< Text of the particle. */ |