aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStrangerke2015-12-20 15:06:40 +0100
committerWillem Jan Palenstijn2015-12-23 21:35:31 +0100
commita4266d2109d2c7e121d3a69b06bfa29436edcb39 (patch)
tree993a89b9844f808862fd68d80db00544aa651ce7
parent08a035f0e5d9fcab4c7f28817f8e344918b0250c (diff)
downloadscummvm-rg350-a4266d2109d2c7e121d3a69b06bfa29436edcb39.tar.gz
scummvm-rg350-a4266d2109d2c7e121d3a69b06bfa29436edcb39.tar.bz2
scummvm-rg350-a4266d2109d2c7e121d3a69b06bfa29436edcb39.zip
LAB: Better handling of the Trial check in the puzzle
-rw-r--r--engines/lab/tilepuzzle.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/lab/tilepuzzle.cpp b/engines/lab/tilepuzzle.cpp
index df46a57fff..c9214fde39 100644
--- a/engines/lab/tilepuzzle.cpp
+++ b/engines/lab/tilepuzzle.cpp
@@ -150,14 +150,13 @@ void TilePuzzle::changeTile(uint16 col, uint16 row) {
}
if (scrolltype != -1) {
- doTileScroll(col, row, scrolltype);
-
if (_vm->getFeatures() & GF_WINDOWS_TRIAL) {
GUI::MessageDialog trialMessage("This puzzle is not available in the trial version of the game");
trialMessage.runModal();
return;
}
+ doTileScroll(col, row, scrolltype);
bool check = true;
row = 0;
col = 0;