aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-30 10:19:32 +0100
committerEugene Sandulenko2019-10-30 10:19:58 +0100
commita3c65b1a15d6c588c011799264c74aa8da7a44c4 (patch)
treeaf505f34bd3cac9e7155e69ad6e63d36aa683e49 /engines/scumm
parentf8272de0ed8f44e9876b3a7e103380577a82fedb (diff)
downloadscummvm-rg350-a3c65b1a15d6c588c011799264c74aa8da7a44c4.tar.gz
scummvm-rg350-a3c65b1a15d6c588c011799264c74aa8da7a44c4.tar.bz2
scummvm-rg350-a3c65b1a15d6c588c011799264c74aa8da7a44c4.zip
SCUMM HE: MBC: Fix unpackageArray() parameters
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/he/moonbase/net_main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp
index ffbdd16ea3..8cef3d73fb 100644
--- a/engines/scumm/he/moonbase/net_main.cpp
+++ b/engines/scumm/he/moonbase/net_main.cpp
@@ -533,7 +533,7 @@ bool Net::remoteReceiveData() {
// and unpack it into an scumm array :-)
newArray = _vm->findFreeArrayId();
- unpackageArray(newArray, _packbuffer + DATA_HEADER_SIZE, datalen);
+ unpackageArray(newArray, _packbuffer, datalen);
memset(_tmpbuffer, 0, 25 * 4);
WRITE_UINT32(_tmpbuffer, newArray);