diff options
author | Paul Gilbert | 2017-08-13 15:00:41 -0400 |
---|---|---|
committer | Paul Gilbert | 2017-08-13 15:00:41 -0400 |
commit | e846a103f49eaba48aca6ca8457398bab910c417 (patch) | |
tree | 943060e78654a2892ebc8c4e6144e7ed396c0a07 /engines/titanic/core | |
parent | 0c6496b111a116966da974f3e7bd61fb7756dd1d (diff) | |
download | scummvm-rg350-e846a103f49eaba48aca6ca8457398bab910c417.tar.gz scummvm-rg350-e846a103f49eaba48aca6ca8457398bab910c417.tar.bz2 scummvm-rg350-e846a103f49eaba48aca6ca8457398bab910c417.zip |
TITANIC: Fix receiving any SuccUBus mail in the Bomb room SuccUBus
Diffstat (limited to 'engines/titanic/core')
-rw-r--r-- | engines/titanic/core/game_object.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/titanic/core/game_object.cpp b/engines/titanic/core/game_object.cpp index 580509252b..5abc9f0f76 100644 --- a/engines/titanic/core/game_object.cpp +++ b/engines/titanic/core/game_object.cpp @@ -954,7 +954,7 @@ CGameObject *CGameObject::findMailByFlags(RoomFlagsComparison compareType, uint for (CGameObject *obj = mailMan->getFirstObject(); obj; obj = mailMan->getNextObject(obj)) { - if (compareRoomFlags(compareType, roomFlags, obj->_roomFlags)) + if (compareRoomFlags(compareType, obj->_roomFlags, roomFlags)) return obj; } |