[Scummvm-git-logs] scummvm master -> 420251596bc4d56c73a6f70b155b471a063f9146

LittleToonCat noreply at scummvm.org
Tue Oct 15 04:46:09 UTC 2024


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:
420251596b SCUMM HE: Handle "system_alert" message.


Commit: 420251596bc4d56c73a6f70b155b471a063f9146
    https://github.com/scummvm/scummvm/commit/420251596bc4d56c73a6f70b155b471a063f9146
Author: Little Cat (toontownlittlecat at gmail.com)
Date: 2024-10-15T01:45:48-03:00

Commit Message:
SCUMM HE: Handle "system_alert" message.

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 e1c253ccdeb..dc7b0fd6b54 100644
--- a/engines/scumm/he/net/net_lobby.cpp
+++ b/engines/scumm/he/net/net_lobby.cpp
@@ -144,6 +144,10 @@ void Lobby::processLine(Common::String line) {
 			Common::String filename = root["filename"]->asString();
 			Common::String data = root["data"]->asString();
 			handleFileData(filename, data);
+		} else if (command == "system_alert") {
+			int type = root["type"]->asIntegerNumber();
+			Common::String message = root["message"]->asString();
+			systemAlert(type, message);
 		} else if (command == "population_resp") {
 			int areaId = root["area"]->asIntegerNumber();
 			int population = root["population"]->asIntegerNumber();




More information about the Scummvm-git-logs mailing list