diff options
author | Gregory Montoir | 2004-11-23 22:21:45 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-11-23 22:21:45 +0000 |
commit | 6414ec92a2a3509946ae4ec35a3a77e76ad152df (patch) | |
tree | 362697a68f2f04b35650124b57be3292b766cb79 /queen/cutaway.cpp | |
parent | 9c317c95c3746ffcda8ae36b692a54ad49ad59dd (diff) | |
download | scummvm-rg350-6414ec92a2a3509946ae4ec35a3a77e76ad152df.tar.gz scummvm-rg350-6414ec92a2a3509946ae4ec35a3a77e76ad152df.tar.bz2 scummvm-rg350-6414ec92a2a3509946ae4ec35a3a77e76ad152df.zip |
cleanup, follow code conventions
svn-id: r15872
Diffstat (limited to 'queen/cutaway.cpp')
-rw-r--r-- | queen/cutaway.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queen/cutaway.cpp b/queen/cutaway.cpp index 0eaabb7ffc..1e8f390989 100644 --- a/queen/cutaway.cpp +++ b/queen/cutaway.cpp @@ -426,7 +426,7 @@ Cutaway::ObjectType Cutaway::getObjectType(CutawayObject &object) { if (object.fromObject > 0) { /* Copy FROM_OBJECT into OBJECT */ - if(object.objectNumber != object.fromObject) { + if (object.objectNumber != object.fromObject) { _vm->logic()->objectCopy(object.fromObject, object.objectNumber); } else { // Same object, so just turn it on! @@ -1130,7 +1130,7 @@ void Cutaway::updateGameState() { bool update = false; if (stateIndex > 0) { - if(_vm->logic()->gameState(stateIndex) == stateValue) + if (_vm->logic()->gameState(stateIndex) == stateValue) update = true; } else { _vm->logic()->gameState(ABS(stateIndex), stateValue); |