[Scummvm-git-logs] scummvm master -> 595c2fdafda997ec07c9a4bb07db5fc477cd67a9

LittleToonCat noreply at scummvm.org
Sun Apr 9 06:41:04 UTC 2023


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:
595c2fdafd SCUMM HE: Fix "Games in progress" counter.


Commit: 595c2fdafda997ec07c9a4bb07db5fc477cd67a9
    https://github.com/scummvm/scummvm/commit/595c2fdafda997ec07c9a4bb07db5fc477cd67a9
Author: Little Cat (toontownlittlecat at gmail.com)
Date: 2023-04-09T03:40:38-03:00

Commit Message:
SCUMM HE: Fix "Games in progress" counter.

Changed paths:
    engines/scumm/he/net/net_lobby.cpp


diff --git a/engines/scumm/he/net/net_lobby.cpp b/engines/scumm/he/net/net_lobby.cpp
index 88f21507994..0982071a4a8 100644
--- a/engines/scumm/he/net/net_lobby.cpp
+++ b/engines/scumm/he/net/net_lobby.cpp
@@ -59,6 +59,11 @@ void Lobby::doNetworkOnceAFrame() {
 	if (ready) {
 		receiveData();
 	}
+
+	if (_inArea && !_inGame) {
+		// Update games playing
+		_vm->writeVar(110, _gamesPlaying);
+	}
 }
 
 void Lobby::send(Common::JSONObject data) {




More information about the Scummvm-git-logs mailing list