diff options
author | Torbjörn Andersson | 2004-02-12 16:55:18 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-02-12 16:55:18 +0000 |
commit | 5447cd09b589990d7ffaf4df23725614420e48d4 (patch) | |
tree | d9ffd6ebaa78a62f3c4a3ad82553b470eddf91b4 /sword2/driver/animation.h | |
parent | 9003dbbcb325cdf30b15822bc9bbf29c04884579 (diff) | |
download | scummvm-rg350-5447cd09b589990d7ffaf4df23725614420e48d4.tar.gz scummvm-rg350-5447cd09b589990d7ffaf4df23725614420e48d4.tar.bz2 scummvm-rg350-5447cd09b589990d7ffaf4df23725614420e48d4.zip |
Changed the playback code to use the new "elapsed time" function instead.
This fixes bug #880484 for me, but may need some fine-tuning.
svn-id: r12830
Diffstat (limited to 'sword2/driver/animation.h')
-rw-r--r-- | sword2/driver/animation.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/driver/animation.h b/sword2/driver/animation.h index a7371fcd69..b1e17a104a 100644 --- a/sword2/driver/animation.h +++ b/sword2/driver/animation.h @@ -71,7 +71,7 @@ class AnimationState { private: Sword2Engine *_vm; - int framenum; + uint framenum; int ticks; #ifdef USE_MPEG2 @@ -101,8 +101,8 @@ private: int pos; struct { - int cnt; - int end; + uint cnt; + uint end; byte pal[4 * 256]; } palettes[50]; #else |