diff options
author | D G Turner | 2019-08-26 03:38:45 +0100 |
---|---|---|
committer | D G Turner | 2019-08-26 03:38:45 +0100 |
commit | 5035c81857839ba86127f18ae66bfed3ee71a85f (patch) | |
tree | 2cc3e775f0224f51cbef1344ee7b0714dec5e600 | |
parent | bf5846dcd7d0c7c7cd34982bae5860cb2bfd2415 (diff) | |
download | scummvm-rg350-5035c81857839ba86127f18ae66bfed3ee71a85f.tar.gz scummvm-rg350-5035c81857839ba86127f18ae66bfed3ee71a85f.tar.bz2 scummvm-rg350-5035c81857839ba86127f18ae66bfed3ee71a85f.zip |
STARTREK: Fix GCC Compiler Warning
-rw-r--r-- | engines/startrek/room.cpp | 2 |
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] == '\\') |