[Scummvm-git-logs] scummvm master -> d1340343b852913e8e89505dc1fa64a3719f56cd
digitall
noreply at scummvm.org
Wed Jan 4 20:54:44 UTC 2023
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:
d1340343b8 ULTIMA8: Fix Suggest Parentheses GCC Compiler Warning
Commit: d1340343b852913e8e89505dc1fa64a3719f56cd
https://github.com/scummvm/scummvm/commit/d1340343b852913e8e89505dc1fa64a3719f56cd
Author: D G Turner (digitall at scummvm.org)
Date: 2023-01-04T20:53:49Z
Commit Message:
ULTIMA8: Fix Suggest Parentheses GCC Compiler Warning
Changed paths:
engines/ultima/ultima8/world/current_map.cpp
diff --git a/engines/ultima/ultima8/world/current_map.cpp b/engines/ultima/ultima8/world/current_map.cpp
index 061e063d605..a78bd77c51b 100644
--- a/engines/ultima/ultima8/world/current_map.cpp
+++ b/engines/ultima/ultima8/world/current_map.cpp
@@ -1234,7 +1234,7 @@ bool CurrentMap::sweepTest(const int32 start[3], const int32 end[3],
for (; sw_it != hit->end(); ++sw_it) {
if (sw_it->_hitTime > first ||
- sw_it->_hitTime == first && sw_it->_endTime > last)
+ (sw_it->_hitTime == first && sw_it->_endTime > last))
break;
}
More information about the Scummvm-git-logs
mailing list