aboutsummaryrefslogtreecommitdiff
path: root/engines/sword1/screen.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-03-30 12:11:22 +0000
committerJohannes Schickel2009-03-30 12:11:22 +0000
commitc8aec4c696b38aa19c2234aa55db9e7920833b32 (patch)
treeef8b9cdf9621721cd699c5c7675e9cac7e3498e4 /engines/sword1/screen.cpp
parent67a881f44402a3b0110d837270e113ead0211753 (diff)
downloadscummvm-rg350-c8aec4c696b38aa19c2234aa55db9e7920833b32.tar.gz
scummvm-rg350-c8aec4c696b38aa19c2234aa55db9e7920833b32.tar.bz2
scummvm-rg350-c8aec4c696b38aa19c2234aa55db9e7920833b32.zip
SWORD1: Commit of parentheses patch from salty-horse. (from -devel "Enabling -Wparentheses in the Makefile").
svn-id: r39762
Diffstat (limited to 'engines/sword1/screen.cpp')
-rw-r--r--engines/sword1/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/screen.cpp b/engines/sword1/screen.cpp
index 700d6e638a..3f2544d8cf 100644
--- a/engines/sword1/screen.cpp
+++ b/engines/sword1/screen.cpp
@@ -538,7 +538,7 @@ void Screen::processImage(uint32 id) {
if ((sprSizeX > 0) && (sprSizeY > 0)) {
if( (!(SwordEngine::isPsx()) || (compact->o_type == TYPE_TEXT)
- || (compact->o_resource == LVSFLY) || !(compact->o_resource == GEORGE_MEGA) && (sprSizeX < 260)))
+ || (compact->o_resource == LVSFLY) || (!(compact->o_resource == GEORGE_MEGA) && (sprSizeX < 260))))
drawSprite(sprData + incr, spriteX, spriteY, sprSizeX, sprSizeY, sprPitch);
else if (((sprSizeX >= 260) && (sprSizeX < 450)) || ((compact->o_resource == GMWRITH) && (sprSizeX < 515)) // a psx shrinked sprite (1/2 width)
|| ((compact->o_resource == GMPOWER) && (sprSizeX < 515)) ) // some needs to be hardcoded, headers don't give useful infos