summaryrefslogtreecommitdiff
path: root/src/textparticle.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/textparticle.h')
-rw-r--r--src/textparticle.h2
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. */