aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/he
diff options
context:
space:
mode:
authorEugene Sandulenko2019-10-29 23:25:56 +0000
committerEugene Sandulenko2019-10-29 23:25:56 +0000
commit1adbc2feb7b937e0f263fd11eb2bfa8b0eb81384 (patch)
tree4fbb3c5eca4ae271589710b153c23c44d8a7627d /engines/scumm/he
parent5766755a9ebc6f97390fc467fcec778434374c56 (diff)
downloadscummvm-rg350-1adbc2feb7b937e0f263fd11eb2bfa8b0eb81384.tar.gz
scummvm-rg350-1adbc2feb7b937e0f263fd11eb2bfa8b0eb81384.tar.bz2
scummvm-rg350-1adbc2feb7b937e0f263fd11eb2bfa8b0eb81384.zip
SCUMM HE: MBC: Hid noisy warning
Diffstat (limited to 'engines/scumm/he')
-rw-r--r--engines/scumm/he/moonbase/net_main.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp
index 10a6544e9a..d6443adcc4 100644
--- a/engines/scumm/he/moonbase/net_main.cpp
+++ b/engines/scumm/he/moonbase/net_main.cpp
@@ -550,9 +550,10 @@ bool Net::remoteReceiveData() {
}
void Net::remoteReceiveDataCallback(Common::JSONValue *response) {
- debug(1, "remoteReceiveData: Got: '%s'", response->stringify().c_str());
-
_packetdata = new Common::JSONValue(*response);
+
+ if (_packetdata->child("size")->asIntegerNumber() != 0)
+ debug(1, "remoteReceiveData: Got: '%s'", response->stringify().c_str());
}
void Net::remoteReceiveDataErrorCallback(Networking::ErrorResponse error) {