aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/gui_lol.cpp
diff options
context:
space:
mode:
authorFlorian Kagerer2009-03-10 00:32:20 +0000
committerFlorian Kagerer2009-03-10 00:32:20 +0000
commitf2a066e42fd8da2a6924e8094e680ad61e94a9b8 (patch)
tree19011301d7468c27be47b31a48fa98537f286fc0 /engines/kyra/gui_lol.cpp
parent2809c23fc9f70ce6542dcd2d1ee713d67965754c (diff)
downloadscummvm-rg350-f2a066e42fd8da2a6924e8094e680ad61e94a9b8.tar.gz
scummvm-rg350-f2a066e42fd8da2a6924e8094e680ad61e94a9b8.tar.bz2
scummvm-rg350-f2a066e42fd8da2a6924e8094e680ad61e94a9b8.zip
LOL: - some opcodes and interface code so that you can at least get out of the shops and Geron's room
svn-id: r39284
Diffstat (limited to 'engines/kyra/gui_lol.cpp')
-rw-r--r--engines/kyra/gui_lol.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/kyra/gui_lol.cpp b/engines/kyra/gui_lol.cpp
index ad4a7cc15c..4f56fa773e 100644
--- a/engines/kyra/gui_lol.cpp
+++ b/engines/kyra/gui_lol.cpp
@@ -1350,6 +1350,9 @@ int LoLEngine::clickedWall(Button *button) {
}
int LoLEngine::clickedSequenceWindow(Button *button) {
+ runLevelScript(calcNewBlockPosition(_currentBlock, _currentDirection), 0x40);
+ if (!_seqTrigger || !posWithinRect(_mouseX, _mouseY, _seqWindowX1, _seqWindowY1, _seqWindowX2, _seqWindowY2))
+ _seqTrigger = 0;
return 1;
}