aboutsummaryrefslogtreecommitdiff
path: root/engines/draci
diff options
context:
space:
mode:
authorDenis Kasak2009-07-12 19:02:08 +0000
committerDenis Kasak2009-07-12 19:02:08 +0000
commiteef64cc737fd9a4877822281c88395b73f0720f7 (patch)
tree76fa641bbde1526b0237b51e7e5bd285c2b2ce7f /engines/draci
parentd369a257d1e9eb01b6104653ba2e0fcd6efb5980 (diff)
downloadscummvm-rg350-eef64cc737fd9a4877822281c88395b73f0720f7.tar.gz
scummvm-rg350-eef64cc737fd9a4877822281c88395b73f0720f7.tar.bz2
scummvm-rg350-eef64cc737fd9a4877822281c88395b73f0720f7.zip
Enabled some more rooms in the demo and disabled loading the former distributor logo.
svn-id: r42426
Diffstat (limited to 'engines/draci')
-rw-r--r--engines/draci/game.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/engines/draci/game.h b/engines/draci/game.h
index 48f127666d..e6eee9e041 100644
--- a/engines/draci/game.h
+++ b/engines/draci/game.h
@@ -111,7 +111,12 @@ public:
// HACK: this is only for testing
void incRoomNum() {
int n = _currentRoom._roomNum;
- n = n < 25 ? n+1 : n;
+ n = n < 37 ? n+1 : n;
+
+ // disable former distributor logo
+ if (n == 30)
+ ++n;
+
_currentRoom._roomNum = n;
}
@@ -119,6 +124,11 @@ public:
void decRoomNum() {
int n = _currentRoom._roomNum;
n = n > 0 ? n-1 : n;
+
+ // disable former distributor logo
+ if (n == 30)
+ --n;
+
_currentRoom._roomNum = n;
}