Skip to content

Commit

Permalink
TITANIC: Fix crash clicking on MissiveOMat login prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Jul 6, 2017
1 parent 1972fd0 commit 0b18b0b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions engines/titanic/game/missiveomat.cpp
Expand Up @@ -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");
Expand Down

0 comments on commit 0b18b0b

Please sign in to comment.