diff options
author | Torbjörn Andersson | 2005-10-19 07:16:17 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2005-10-19 07:16:17 +0000 |
commit | 64b5f32e81240dec7153cbe28091267cf49b6bf9 (patch) | |
tree | 58344a3dfaf93e89b8cabb3ca5e459a856f784cf /kyra/sprites.cpp | |
parent | d3b96e431ce6480446672cec9ab25f2353dbeef7 (diff) | |
download | scummvm-rg350-64b5f32e81240dec7153cbe28091267cf49b6bf9.tar.gz scummvm-rg350-64b5f32e81240dec7153cbe28091267cf49b6bf9.tar.bz2 scummvm-rg350-64b5f32e81240dec7153cbe28091267cf49b6bf9.zip |
Fixed compile error.
svn-id: r19170
Diffstat (limited to 'kyra/sprites.cpp')
-rw-r--r-- | kyra/sprites.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kyra/sprites.cpp b/kyra/sprites.cpp index 3486324c50..a9ca8eda44 100644 --- a/kyra/sprites.cpp +++ b/kyra/sprites.cpp @@ -118,6 +118,7 @@ void Sprites::doAnims() { while (READ_LE_UINT16(data) != 0xFF87 && !endLoop) { uint16 rndNr; + uint16 anim; assert((data - _anims[i].script) < _anims[i].length); switch (READ_LE_UINT16(data)) { case 0xFF88: @@ -268,7 +269,7 @@ void Sprites::doAnims() { data += 2; debug(9, "func: Stop animation"); debug(9, "Animation index %i", READ_LE_UINT16(data)); - uint16 anim = READ_LE_UINT16(data); + anim = READ_LE_UINT16(data); data += 2; _anims[anim].play = false; _anims[anim].sprite = -1; |