aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/sprites.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2006-03-16 16:35:46 +0000
committerJohannes Schickel2006-03-16 16:35:46 +0000
commitf1c9cd57265c64de835e6e9647afcf0e679651be (patch)
tree25873e83a092c4bc85fa8b5572fe88e712ffe547 /engines/kyra/sprites.cpp
parent79b5c11ee24cae949db80040dff269e6851b64f0 (diff)
downloadscummvm-rg350-f1c9cd57265c64de835e6e9647afcf0e679651be.tar.gz
scummvm-rg350-f1c9cd57265c64de835e6e9647afcf0e679651be.tar.bz2
scummvm-rg350-f1c9cd57265c64de835e6e9647afcf0e679651be.zip
- Fixes some gfx glitches (the falling feather and the falling leaf now have correct restored background)
- Fixes brandon width value after loading (removes gfx glitch while talking with the tree) svn-id: r21332
Diffstat (limited to 'engines/kyra/sprites.cpp')
-rw-r--r--engines/kyra/sprites.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/sprites.cpp b/engines/kyra/sprites.cpp
index 1bfd7813de..6e95b5ff30 100644
--- a/engines/kyra/sprites.cpp
+++ b/engines/kyra/sprites.cpp
@@ -89,7 +89,7 @@ void Sprites::setupSceneAnims() {
data += 4;
_anims[i].y = READ_LE_UINT16(data);
data += 4;
- _anims[i].width = *(data) - 1;
+ _anims[i].width = *(data);
data += 4;
_anims[i].height = *(data);
data += 4;