aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2016-06-06 18:52:11 +0200
committerEugene Sandulenko2016-06-06 18:52:11 +0200
commit8ea64e923f686c15f9454e4b23356d4eed2645b6 (patch)
tree262bd7efab084657b8e504ec6a24da34d4685a27 /engines/scumm
parent04bb80bc7191069797edfcbb523439c805eef599 (diff)
downloadscummvm-rg350-8ea64e923f686c15f9454e4b23356d4eed2645b6.tar.gz
scummvm-rg350-8ea64e923f686c15f9454e4b23356d4eed2645b6.tar.bz2
scummvm-rg350-8ea64e923f686c15f9454e4b23356d4eed2645b6.zip
SCUMM HE: Fix Moonbase FOW initialization
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/moonbase/moonbase_fow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/moonbase/moonbase_fow.cpp b/engines/scumm/he/moonbase/moonbase_fow.cpp
index 3f7356f604..215e6885f0 100644
--- a/engines/scumm/he/moonbase/moonbase_fow.cpp
+++ b/engines/scumm/he/moonbase/moonbase_fow.cpp
@@ -59,7 +59,7 @@ void Moonbase::initFOW() {
_fowBlackMode = true;
- memset(_fowRenderTable, 0, 32768);
+ memset(_fowRenderTable, 0, sizeof(_fowRenderTable));
}
void Moonbase::releaseFOWResources() {