mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-27 13:42:02 +00:00
Fix for GCC warning (Warned about testing x >= 0 when x is unsigned and therefore the test is always true).
svn-id: r32791
This commit is contained in:
parent
1339a55389
commit
1d71ab7e1f
@ -1773,7 +1773,7 @@ int16 checkCollision(int16 objIdx, int16 x, int16 y, int16 numZones, int16 zoneI
|
||||
|
||||
// The zoneQuery table is updated here only in Operation Stealth
|
||||
if (g_cine->getGameType() == Cine::GType_OS) {
|
||||
if (zoneData[idx] >= 0 && zoneData[idx] < NUM_MAX_ZONE) {
|
||||
if (zoneData[idx] < NUM_MAX_ZONE) {
|
||||
zoneQuery[zoneData[idx]]++;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user