aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2/mouse.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2011-02-15 22:52:15 +0100
committerJohannes Schickel2011-02-15 22:52:15 +0100
commit74e4b5a6cdada50fcf5ab32f73da16c356a1d16a (patch)
tree3ec22145ddbf2b56d22079fbd011c33d96840079 /engines/sword2/mouse.cpp
parent3b9da7f03b52c57c66ba79cc28d60ffdda5ec970 (diff)
downloadscummvm-rg350-74e4b5a6cdada50fcf5ab32f73da16c356a1d16a.tar.gz
scummvm-rg350-74e4b5a6cdada50fcf5ab32f73da16c356a1d16a.tar.bz2
scummvm-rg350-74e4b5a6cdada50fcf5ab32f73da16c356a1d16a.zip
SWORD2: Adapt to setPalette/grabPalette RGBA->RGB change.
Thanks to eriktorbjorn for helping me with this.
Diffstat (limited to 'engines/sword2/mouse.cpp')
-rw-r--r--engines/sword2/mouse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sword2/mouse.cpp b/engines/sword2/mouse.cpp
index 7998079944..c8e9387cb7 100644
--- a/engines/sword2/mouse.cpp
+++ b/engines/sword2/mouse.cpp
@@ -1410,8 +1410,8 @@ void Mouse::addHuman() {
// info
if (_vm->_debugger->_testingSnR) {
- uint8 black[4] = { 0, 0, 0, 0 };
- uint8 white[4] = { 255, 255, 255, 0 };
+ uint8 black[3] = { 0, 0, 0 };
+ uint8 white[3] = { 255, 255, 255 };
// Testing logic scripts by simulating instant Save & Restore