aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/screen_lol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/kyra/screen_lol.cpp')
-rw-r--r--engines/kyra/screen_lol.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/screen_lol.cpp b/engines/kyra/screen_lol.cpp
index 240ca40480..408e568b0b 100644
--- a/engines/kyra/screen_lol.cpp
+++ b/engines/kyra/screen_lol.cpp
@@ -251,8 +251,7 @@ void Screen_LoL::generateTruelightTables(const uint8 *ovl, int a, const Palette
}
} else {
- for (int ii = 0; ii < 256; ii++)
- outTable2[(i << 8) + ii] = 0;
+ memset(&outTable2[i << 8], 0, 256);
}
}
}