From 651faae2a4797627a50e99a9f182478bf1f27c1a Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Fri, 10 Feb 2006 19:49:08 +0000 Subject: Fixed gfx bug with shapes with flag 1 enabled. That means that Brandon now displays correctly when walking around. svn-id: r20482 --- kyra/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kyra') 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]; -- cgit v1.2.3