diff options
author | Paul Gilbert | 2016-11-05 11:10:45 -0400 |
---|---|---|
committer | Paul Gilbert | 2016-11-05 11:10:45 -0400 |
commit | edc74ce8e8710c0d85c79df0b3f450bc15805af5 (patch) | |
tree | 82a1e0a428f87c1d3bdbf71cd655711dbf041a9e /engines | |
parent | 6eac69f45a436535e6c56e27cb144eed8719317f (diff) | |
download | scummvm-rg350-edc74ce8e8710c0d85c79df0b3f450bc15805af5.tar.gz scummvm-rg350-edc74ce8e8710c0d85c79df0b3f450bc15805af5.tar.bz2 scummvm-rg350-edc74ce8e8710c0d85c79df0b3f450bc15805af5.zip |
TITANIC: Don't allow exiting EmbLobby without checking in
Diffstat (limited to 'engines')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 545868b582..a882039bf1 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -918,12 +918,12 @@ Point CGameObject::getMousePos() const { } bool CGameObject::compareViewNameTo(const CString &name) const { - return getViewFullName().compareToIgnoreCase(name); + return !getViewFullName().compareToIgnoreCase(name); } int CGameObject::compareRoomNameTo(const CString &name) { CRoomItem *room = getGameManager()->getRoom(); - return room->getName().compareToIgnoreCase(name); + return !room->getName().compareToIgnoreCase(name); } CString CGameObject::getRoomName() const { |