aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/script.cpp
diff options
context:
space:
mode:
authorJordi Vilalta Prat2008-01-27 19:47:41 +0000
committerJordi Vilalta Prat2008-01-27 19:47:41 +0000
commit66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985 (patch)
treee27aadabecd8dd910884280e6559ff9c94c3d73c /engines/saga/script.cpp
parent278857698dc7b1623096fe1ad12511dc4c886c7e (diff)
downloadscummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.gz
scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.tar.bz2
scummvm-rg350-66e9d4f5e8f35b28f8abd9ce53a0da4da3ce8985.zip
Removed trailing spaces.
svn-id: r30664
Diffstat (limited to 'engines/saga/script.cpp')
-rw-r--r--engines/saga/script.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/saga/script.cpp b/engines/saga/script.cpp
index cf61df8ea8..7664af314f 100644
--- a/engines/saga/script.cpp
+++ b/engines/saga/script.cpp
@@ -665,7 +665,7 @@ void Script::playfieldClick(const Point& mousePoint, bool leftButton) {
doVerb();
return;
}
- } else {
+ } else {
if (_vm->getGameType() == GType_IHNM) {
if ((hitZone->getFlags() & kHitZoneNoWalk) && (_pendingVerb != getVerbType(kVerbWalkTo))) {
doVerb();
@@ -738,8 +738,8 @@ void Script::playfieldClick(const Point& mousePoint, bool leftButton) {
// (screens with Gorrister's heart) in IHNM. For some reason, this zone does
// not have a corresponding action zone, so we auto-use it here, like the exits
// in Benny's chapter
- if (_vm->_scene->currentChapterNumber() == 1 &&
- _vm->_scene->currentSceneNumber() >= 16 &&
+ if (_vm->_scene->currentChapterNumber() == 1 &&
+ _vm->_scene->currentSceneNumber() >= 16 &&
_vm->_scene->currentSceneNumber() <= 19 &&
_pendingVerb == getVerbType(kVerbWalkTo) &&
hitZone != NULL && hitZone->getHitZoneId() == 24576) {
@@ -813,7 +813,7 @@ void Script::whichObject(const Point& mousePoint) {
// Note: for IHNM, the default right button action is "Look at" for actors,
// but "Talk to" makes much more sense
newRightButtonVerb = getVerbType(kVerbTalkTo);
- // Slight hack because of the above change: the jukebox in Gorrister's chapter
+ // Slight hack because of the above change: the jukebox in Gorrister's chapter
// is an actor, so change the right button action to "Look at"
if (_vm->getGameType() == GType_IHNM && objectId == 8199)
newRightButtonVerb = getVerbType(kVerbLookAt);