summaryrefslogtreecommitdiff
path: root/src/textparticle.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-28 16:42:47 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2007-08-28 16:42:47 +0000
commit3641a74507d692a7fbababfd8beb738f71e48acb (patch)
tree78d9235fe86ff2e958edb2cc2f777bbaade7607c /src/textparticle.h
parent55786731e0517efdc123d4e8245b2aa94fa55cbe (diff)
downloadmana-client-3641a74507d692a7fbababfd8beb738f71e48acb.tar.gz
mana-client-3641a74507d692a7fbababfd8beb738f71e48acb.tar.bz2
mana-client-3641a74507d692a7fbababfd8beb738f71e48acb.tar.xz
mana-client-3641a74507d692a7fbababfd8beb738f71e48acb.zip
Added Vector class and used it in the particle engine.
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. */