aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorD G Turner2019-08-26 03:38:45 +0100
committerD G Turner2019-08-26 03:38:45 +0100
commit5035c81857839ba86127f18ae66bfed3ee71a85f (patch)
tree2cc3e775f0224f51cbef1344ee7b0714dec5e600
parentbf5846dcd7d0c7c7cd34982bae5860cb2bfd2415 (diff)
downloadscummvm-rg350-5035c81857839ba86127f18ae66bfed3ee71a85f.tar.gz
scummvm-rg350-5035c81857839ba86127f18ae66bfed3ee71a85f.tar.bz2
scummvm-rg350-5035c81857839ba86127f18ae66bfed3ee71a85f.zip
STARTREK: Fix GCC Compiler Warning
-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] == '\\')