diff options
author | Ira Rice <irarice@gmail.com> | 2009-02-11 00:20:28 -0700 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2009-02-11 00:20:28 -0700 |
commit | d036e2c771bcd19a21e26aec155d4269cecdb1c2 (patch) | |
tree | 53d9e0224e8964534fa1a8c6ca62f0b56f2ae81a /src/simpleanimation.h | |
parent | 4f038e895499fcf94fec168ef964f7de4f813113 (diff) | |
download | mana-d036e2c771bcd19a21e26aec155d4269cecdb1c2.tar.gz mana-d036e2c771bcd19a21e26aec155d4269cecdb1c2.tar.bz2 mana-d036e2c771bcd19a21e26aec155d4269cecdb1c2.tar.xz mana-d036e2c771bcd19a21e26aec155d4269cecdb1c2.zip |
Fixed a regression on the particle engine caused by modifying the
SimpleAnimation class to use correct delays for target drawing.
Basically, because the SimpleAnimation was a bit more restrictive on
ensuring that frame rates were being respected, some particles would not
get drawn. This commit allows for target animations to look correct,
while not breaking particles.
Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/simpleanimation.h')
-rw-r--r-- | src/simpleanimation.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/simpleanimation.h b/src/simpleanimation.h index 384823b7..5583e449 100644 --- a/src/simpleanimation.h +++ b/src/simpleanimation.h @@ -64,9 +64,6 @@ class SimpleAnimation /** The hosted animation. */ Animation *mAnimation; - /**< The last time update was called. */ - unsigned int mLastTime; - /** Time in game ticks the current frame is shown. */ unsigned int mAnimationTime; |