[Scummvm-git-logs] scummvm master -> 0b18b0b1b5791fc142a9527fcc13886710a4bd84

dreammaster dreammaster at scummvm.org
Thu Jul 6 14:49:03 CEST 2017


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:
0b18b0b1b5 TITANIC: Fix crash clicking on MissiveOMat login prompt


Commit: 0b18b0b1b5791fc142a9527fcc13886710a4bd84
    https://github.com/scummvm/scummvm/commit/0b18b0b1b5791fc142a9527fcc13886710a4bd84
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2017-07-06T08:48:54-04:00

Commit Message:
TITANIC: Fix crash clicking on MissiveOMat login prompt

Changed paths:
    engines/titanic/game/missiveomat.cpp


diff --git a/engines/titanic/game/missiveomat.cpp b/engines/titanic/game/missiveomat.cpp
index 3d2e4c2..9ae2a0e 100644
--- a/engines/titanic/game/missiveomat.cpp
+++ b/engines/titanic/game/missiveomat.cpp
@@ -229,6 +229,9 @@ bool CMissiveOMat::MissiveOMatActionMsg(CMissiveOMatActionMsg *msg) {
 
 	switch (msg->_action) {
 	case MESSAGE_SHOW: {
+		if (_account == NO_ACCOUNT)
+			break;
+
 		CRoomItem *room = findRoom();
 		CTreeItem *btnOk = room->findByName("MissiveOMat OK Button");
 		CTreeItem *btnNext = room->findByName("MissiveOMat Next Button");





More information about the Scummvm-git-logs mailing list