diff options
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]; |