aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorJohannes Schickel2011-04-06 23:40:56 +0200
committerJohannes Schickel2011-04-07 00:11:36 +0200
commitf4dde644064cd717cd82b3cf873d866a58d15a23 (patch)
treee69bda980d4bd22feb7150d1afdae8577e073434 /engines
parent3dc87c4f3d775a75034779cf162129f914bd5a8c (diff)
downloadscummvm-rg350-f4dde644064cd717cd82b3cf873d866a58d15a23.tar.gz
scummvm-rg350-f4dde644064cd717cd82b3cf873d866a58d15a23.tar.bz2
scummvm-rg350-f4dde644064cd717cd82b3cf873d866a58d15a23.zip
KYRA: Slight cleanup.
Diffstat (limited to 'engines')
-rw-r--r--engines/kyra/screen.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/kyra/screen.cpp b/engines/kyra/screen.cpp
index a6754610ef..58d8e7f3d4 100644
--- a/engines/kyra/screen.cpp
+++ b/engines/kyra/screen.cpp
@@ -2375,7 +2375,7 @@ uint8 *Screen::encodeShape(int x, int y, int w, int h, int flags) {
if (flags & 1)
shapeSize += 16;
- static uint8 table[274];
+ uint8 table[274];
int tableIndex = 0;
uint8 *newShape = 0;
@@ -2397,7 +2397,7 @@ uint8 *Screen::encodeShape(int x, int y, int w, int h, int flags) {
byte *src = srcPtr;
if (flags & 1) {
dst += 16;
- memset(table, 0, sizeof(uint8)*274);
+ memset(table, 0, sizeof(table));
tableIndex = 1;
}