aboutsummaryrefslogtreecommitdiff
path: root/engines/agos/event.cpp
diff options
context:
space:
mode:
authorTravis Howell2006-10-02 05:39:27 +0000
committerTravis Howell2006-10-02 05:39:27 +0000
commit2cc1df6fddd01d5966d2bc5ce5cd89d85dd16524 (patch)
tree9ee2cbb687f0214313f9f20b6387cde123ecfd00 /engines/agos/event.cpp
parentd7b786ea41838b6c3fe950fe01c97b97daca711d (diff)
downloadscummvm-rg350-2cc1df6fddd01d5966d2bc5ce5cd89d85dd16524.tar.gz
scummvm-rg350-2cc1df6fddd01d5966d2bc5ce5cd89d85dd16524.tar.bz2
scummvm-rg350-2cc1df6fddd01d5966d2bc5ce5cd89d85dd16524.zip
Add last tiles code and corrections for Swampy
svn-id: r24061
Diffstat (limited to 'engines/agos/event.cpp')
-rw-r--r--engines/agos/event.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/agos/event.cpp b/engines/agos/event.cpp
index f0e949b645..fccecd7162 100644
--- a/engines/agos/event.cpp
+++ b/engines/agos/event.cpp
@@ -331,11 +331,12 @@ void AGOSEngine::timer_proc1() {
pairCheck();
gravityCheck();
}
- printf("CheckIfClickedOnBlock\n");
+ if (_leftButtonDown || _rightButtonDown)
+ checkIfClickedOnBlock();
if (getBitFlag(99)) {
moveBlocks();
- droppingBlock();
}
+ droppingBlock();
}
} else {
if (_scrollCount == 0) {