diff options
author | Johannes Schickel | 2006-02-10 19:49:08 +0000 |
---|---|---|
committer | Johannes Schickel | 2006-02-10 19:49:08 +0000 |
commit | 651faae2a4797627a50e99a9f182478bf1f27c1a (patch) | |
tree | 0e13d875bdb9ad10e7e259672ec580a8dc08ca62 /kyra | |
parent | 5398ef1532fc5839d0ee4c4c15de0bc7c826476d (diff) | |
download | scummvm-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.cpp | 2 |
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]; |