diff options
author | Robert Göffringmann | 2005-02-20 18:40:32 +0000 |
---|---|---|
committer | Robert Göffringmann | 2005-02-20 18:40:32 +0000 |
commit | 7c54b0af7dbe6a6f3710a738dffcdb87c13f032b (patch) | |
tree | f5325b94e308069d4c607f0c1c6e49af3b638ce9 | |
parent | c81fa31a5cce9e6f153ed378b2efebce6390cd2a (diff) | |
download | scummvm-rg350-7c54b0af7dbe6a6f3710a738dffcdb87c13f032b.tar.gz scummvm-rg350-7c54b0af7dbe6a6f3710a738dffcdb87c13f032b.tar.bz2 scummvm-rg350-7c54b0af7dbe6a6f3710a738dffcdb87c13f032b.zip |
I guess someone forgot to put paranthesis here.
Forgive me if it was really meant to be like it was... but I can't believe it. :)
svn-id: r16829
-rw-r--r-- | scumm/sprite_he.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scumm/sprite_he.cpp b/scumm/sprite_he.cpp index ef7b5bc711..2e499b7f57 100644 --- a/scumm/sprite_he.cpp +++ b/scumm/sprite_he.cpp @@ -40,31 +40,31 @@ void ScummEngine_v90he::allocateArrays() { int ScummEngine_v90he::spriteInfoGet_flags_1(int spriteNum) { checkRange(_numSprites, 1, spriteNum, "_spriteTableGet_flags_1: Invalid sprite %d"); - return (_spriteTable[spriteNum].flags & kSF15 != 0) ? 1 : 0; + return ((_spriteTable[spriteNum].flags & kSF15) != 0) ? 1 : 0; } int ScummEngine_v90he::spriteInfoGet_flags_2(int spriteNum) { checkRange(_numSprites, 1, spriteNum, "_spriteTableGet_flags_2: Invalid sprite %d"); - return (_spriteTable[spriteNum].flags & kSF14 != 0) ? 1 : 0; + return ((_spriteTable[spriteNum].flags & kSF14) != 0) ? 1 : 0; } int ScummEngine_v90he::spriteInfoGet_flags_3(int spriteNum) { checkRange(_numSprites, 1, spriteNum, "_spriteTableGet_flags_3: Invalid sprite %d"); - return (_spriteTable[spriteNum].flags & kSF16 != 0) ? 1 : 0; + return ((_spriteTable[spriteNum].flags & kSF16) != 0) ? 1 : 0; } int ScummEngine_v90he::spriteInfoGet_flags_4(int spriteNum) { checkRange(_numSprites, 1, spriteNum, "_spriteTableGet_flags_4: Invalid sprite %d"); - return (_spriteTable[spriteNum].flags & kSF13 != 0) ? 1 : 0; + return ((_spriteTable[spriteNum].flags & kSF13) != 0) ? 1 : 0; } int ScummEngine_v90he::spriteInfoGet_flags_5(int spriteNum) { checkRange(_numSprites, 1, spriteNum, "_spriteTableGet_flags_5: Invalid sprite %d"); - return (_spriteTable[spriteNum].flags & kSF20 != 0) ? 1 : 0; + return ((_spriteTable[spriteNum].flags & kSF20) != 0) ? 1 : 0; } int ScummEngine_v90he::spriteInfoGet_flags_6(int spriteNum) { @@ -76,13 +76,13 @@ int ScummEngine_v90he::spriteInfoGet_flags_6(int spriteNum) { int ScummEngine_v90he::spriteInfoGet_flags_7(int spriteNum) { checkRange(_numSprites, 1, spriteNum, "_spriteTableGet_flags_7: Invalid sprite %d"); - return (_spriteTable[spriteNum].flags & kSF23 != 0) ? 1 : 0; + return ((_spriteTable[spriteNum].flags & kSF23) != 0) ? 1 : 0; } int ScummEngine_v90he::spriteInfoGet_flags_8(int spriteNum) { checkRange(_numSprites, 1, spriteNum, "_spriteTableGet_flags_8: Invalid sprite %d"); - return (_spriteTable[spriteNum].flags & kSF31 != 0) ? 1 : 0; + return ((_spriteTable[spriteNum].flags & kSF31) != 0) ? 1 : 0; } } // End of namespace Scumm |