[Scummvm-git-logs] scummvm master -> 5035c81857839ba86127f18ae66bfed3ee71a85f
digitall
dgturner at iee.org
Mon Aug 26 04:41:08 CEST 2019
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:
5035c81857 STARTREK: Fix GCC Compiler Warning
Commit: 5035c81857839ba86127f18ae66bfed3ee71a85f
https://github.com/scummvm/scummvm/commit/5035c81857839ba86127f18ae66bfed3ee71a85f
Author: D G Turner (digitall at scummvm.org)
Date: 2019-08-26T03:38:45+01:00
Commit Message:
STARTREK: Fix GCC Compiler Warning
Changed paths:
engines/startrek/room.cpp
diff --git a/engines/startrek/room.cpp b/engines/startrek/room.cpp
index b8bb6ad..052a38c 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] == '\\')
More information about the Scummvm-git-logs
mailing list