[Scummvm-git-logs] scummvm master -> e859045a197aa73b1b3f0405096e4a44f542989f

LittleToonCat noreply at scummvm.org
Wed Mar 8 08:37:33 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:
e859045a19 SCUMM HE: Properly disconnect after login error.


Commit: e859045a197aa73b1b3f0405096e4a44f542989f
    https://github.com/scummvm/scummvm/commit/e859045a197aa73b1b3f0405096e4a44f542989f
Author: Little Cat (toontownlittlecat at gmail.com)
Date: 2023-03-08T04:37:24-04:00

Commit Message:
SCUMM HE: Properly disconnect after login error.

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 4e00f6f5fc5..802f85e1b11 100644
--- a/engines/scumm/he/net/net_lobby.cpp
+++ b/engines/scumm/he/net/net_lobby.cpp
@@ -432,6 +432,7 @@ void Lobby::handleLoginResp(int errorCode, int userId, Common::String sessionSer
 	if (errorCode > 0) {
 		writeStringArray(109, response);
 		_vm->writeVar(108, -99);
+		disconnect();
 		return;
 	}
 	_userId = userId;




More information about the Scummvm-git-logs mailing list