[Scummvm-git-logs] scummvm master -> edc74ce8e8710c0d85c79df0b3f450bc15805af5
dreammaster
dreammaster at scummvm.org
Sat Nov 5 16:10:49 CET 2016
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:
edc74ce8e8 TITANIC: Don't allow exiting EmbLobby without checking in
Commit: edc74ce8e8710c0d85c79df0b3f450bc15805af5
https://github.com/scummvm/scummvm/commit/edc74ce8e8710c0d85c79df0b3f450bc15805af5
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2016-11-05T11:10:45-04:00
Commit Message:
TITANIC: Don't allow exiting EmbLobby without checking in
Changed paths:
engines/titanic/core/game_object.cpp
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp
index 545868b..a882039 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 {
More information about the Scummvm-git-logs
mailing list