[Scummvm-git-logs] scummvm master -> 1adbc2feb7b937e0f263fd11eb2bfa8b0eb81384

sev- sev at scummvm.org
Wed Oct 30 00:26:21 CET 2019


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
1adbc2feb7 SCUMM HE: MBC: Hid noisy warning


Commit: 1adbc2feb7b937e0f263fd11eb2bfa8b0eb81384
    https://github.com/scummvm/scummvm/commit/1adbc2feb7b937e0f263fd11eb2bfa8b0eb81384
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2019-10-29T23:25:56Z

Commit Message:
SCUMM HE: MBC: Hid noisy warning

Changed paths:
    engines/scumm/he/moonbase/net_main.cpp


diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp
index 10a6544..d6443ad 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) {





More information about the Scummvm-git-logs mailing list