From dcab6674f1c55b078bf692f7338dd8de6e637d2c Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Wed, 30 Oct 2019 06:22:47 +0000 Subject: SCUMM HE: MBC: Fix package sending --- engines/scumm/he/moonbase/net_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') diff --git a/engines/scumm/he/moonbase/net_main.cpp b/engines/scumm/he/moonbase/net_main.cpp index d6443adcc4..7095912224 100644 --- a/engines/scumm/he/moonbase/net_main.cpp +++ b/engines/scumm/he/moonbase/net_main.cpp @@ -337,7 +337,7 @@ int Net::remoteSendData(int typeOfSend, int sendTypeParam, int type, byte *data, // Since I am lazy, instead of constructing the JSON object manually // I'd rather parse it Common::String res = Common::String::format( - "{\"sessionid\":%d, \"userid\":%d, \"to\":%d, \"toparam\": %d, " + "{\"sessionid\":%d, \"from\":%d, \"to\":%d, \"toparam\": %d, " "\"type\":%d, \"timestamp\": %d, \"size\": %d, \"data\": [", _sessionid, _myUserId, typeOfSend, sendTypeParam, type, g_system->getMillis(), len); -- cgit v1.2.3