aboutsummaryrefslogtreecommitdiff
path: root/engines/startrek
diff options
context:
space:
mode:
Diffstat (limited to 'engines/startrek')
-rw-r--r--engines/startrek/room.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/startrek/room.cpp b/engines/startrek/room.cpp
index b8bb6ad8fb..052a38cc71 100644
--- a/engines/startrek/room.cpp
+++ b/engines/startrek/room.cpp
@@ -131,7 +131,7 @@ void Room::loadRoomMessages() {
const char roomIndexChar = '0' + _vm->_roomIndex;
do {
- while (text[0] != '#' || text[1] != _vm->_missionName[0] && text[4] != roomIndexChar)
+ while (text[0] != '#' || (text[1] != _vm->_missionName[0] && text[4] != roomIndexChar))
text++;
if (text[5] == '\\')