diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-12 16:45:25 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2007-03-12 16:45:25 +0000 |
commit | f40c9b8012191d72b1a738c1161b0c82b8387fed (patch) | |
tree | b987ff6896a20911835c9675d2263c6cf93a2b3c /src/simpleanimation.h | |
parent | da1ea1f3b7edaf4642c32457a722563ca37083e7 (diff) | |
download | mana-f40c9b8012191d72b1a738c1161b0c82b8387fed.tar.gz mana-f40c9b8012191d72b1a738c1161b0c82b8387fed.tar.bz2 mana-f40c9b8012191d72b1a738c1161b0c82b8387fed.tar.xz mana-f40c9b8012191d72b1a738c1161b0c82b8387fed.zip |
Fixed some wrong comments and made the timing more accurate for simple animations with frames that change faster than they are updated.
Diffstat (limited to 'src/simpleanimation.h')
-rw-r--r-- | src/simpleanimation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/simpleanimation.h b/src/simpleanimation.h index 084211ea..3eb51c7e 100644 --- a/src/simpleanimation.h +++ b/src/simpleanimation.h @@ -52,8 +52,8 @@ class SimpleAnimation private: Animation *mAnimation; /**< The hosted animation */ unsigned int mAnimationTime; /**< Time in game ticks the current frame is shown*/ - unsigned int mAnimationPhase; /**< Current animation phase when the appearance is ANIMATION*/ - Frame *mCurrentFrame; + unsigned int mAnimationPhase; /**< Index of current animation phase*/ + Frame *mCurrentFrame; /**< Current animation phase */ }; #endif |