aboutsummaryrefslogtreecommitdiff
path: root/kyra
diff options
context:
space:
mode:
authorJohannes Schickel2006-02-10 19:49:08 +0000
committerJohannes Schickel2006-02-10 19:49:08 +0000
commit651faae2a4797627a50e99a9f182478bf1f27c1a (patch)
tree0e13d875bdb9ad10e7e259672ec580a8dc08ca62 /kyra
parent5398ef1532fc5839d0ee4c4c15de0bc7c826476d (diff)
downloadscummvm-rg350-651faae2a4797627a50e99a9f182478bf1f27c1a.tar.gz
scummvm-rg350-651faae2a4797627a50e99a9f182478bf1f27c1a.tar.bz2
scummvm-rg350-651faae2a4797627a50e99a9f182478bf1f27c1a.zip
Fixed gfx bug with shapes with flag 1 enabled.
That means that Brandon now displays correctly when walking around. svn-id: r20482
Diffstat (limited to 'kyra')
-rw-r--r--kyra/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kyra/screen.cpp b/kyra/screen.cpp
index a75bf4a5e3..8e28023be6 100644
--- a/kyra/screen.cpp
+++ b/kyra/screen.cpp
@@ -1524,7 +1524,7 @@ uint8 *Screen::encodeShape(int x, int y, int w, int h, int flags) {
table[0x100+tableIndex] = value;
table[value] = tableIndex;
++tableIndex;
- value = tableIndex;
+ value = table[value];
}
} else {
value = table[value];