From 1ec33154fdb760bfd2a51e64e2c110055d79044e Mon Sep 17 00:00:00 2001 From: Sven Hesse Date: Tue, 18 Nov 2008 20:16:50 +0000 Subject: Ooops :) svn-id: r35119 --- engines/gob/util.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'engines') diff --git a/engines/gob/util.cpp b/engines/gob/util.cpp index f04818d4a7..543e363c31 100644 --- a/engines/gob/util.cpp +++ b/engines/gob/util.cpp @@ -285,13 +285,12 @@ void Util::forceMouseUp(bool onlyWhenSynced) { void Util::clearPalette(void) { int16 i; - byte colors[768]; + byte colors[1024]; _vm->validateVideoMode(_vm->_global->_videoMode); if (_vm->_global->_setAllPalette) { - for (i = 0; i < 768; i++) - colors[i] = 0; + memset(colors, 0, 1024); g_system->setPalette(colors, 0, 256); return; } -- cgit v1.2.3