diff options
author | Torbjörn Andersson | 2016-06-15 06:09:48 +0200 |
---|---|---|
committer | Torbjörn Andersson | 2016-06-15 06:09:48 +0200 |
commit | 2b8140136836a9620714a25bce597909849fe2a6 (patch) | |
tree | 9dfeb11c96763553d0aae8c8beca570f4bdcd1bb /engines | |
parent | 5188a954a68c1a4136d10d7f0812a26140540cc0 (diff) | |
download | scummvm-rg350-2b8140136836a9620714a25bce597909849fe2a6.tar.gz scummvm-rg350-2b8140136836a9620714a25bce597909849fe2a6.tar.bz2 scummvm-rg350-2b8140136836a9620714a25bce597909849fe2a6.zip |
SCUMM HE: Silence GCC "suggest parentheses" warnings
Thanks to sev for confirming that this is the intended expressions.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/scumm/he/moonbase/distortion.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/he/moonbase/distortion.cpp b/engines/scumm/he/moonbase/distortion.cpp index 4f09ba54ed..8465771820 100644 --- a/engines/scumm/he/moonbase/distortion.cpp +++ b/engines/scumm/he/moonbase/distortion.cpp @@ -91,8 +91,8 @@ static void blitDistortionCore( for (int i = cw; --i >= 0;) { uint16 p = READ_LE_UINT16(is); - int sx = baseX + dx + (p >> 5) & 0x1f; // G color - int sy = baseY + dy + p & 0x1f; // B color; + int sx = baseX + dx + ((p >> 5) & 0x1f); // G color + int sy = baseY + dy + (p & 0x1f); // B color; if (transferOp == kReflectionClipped) { if (sx < srcClipRect->left) |