aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNipun Garg2019-07-23 03:17:07 +0530
committerEugene Sandulenko2019-09-03 17:17:26 +0200
commit8e102a7dc76b6bbf73aef479e7832ef2c2af5cc9 (patch)
treede1d2c54fb784a32faed58a8669543d46fb4ec98
parent452612d02a2296a7ba4c9daa1d727855090e671d (diff)
downloadscummvm-rg350-8e102a7dc76b6bbf73aef479e7832ef2c2af5cc9.tar.gz
scummvm-rg350-8e102a7dc76b6bbf73aef479e7832ef2c2af5cc9.tar.bz2
scummvm-rg350-8e102a7dc76b6bbf73aef479e7832ef2c2af5cc9.zip
HDB: Add cheat to test MAP29
-rw-r--r--engines/hdb/hdb.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index 3fb963af5a..ec99b7e0ae 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -213,6 +213,12 @@ bool HDBGame::restartMap() {
_ai->setGemAmount(100);
}
+ if (!strcmp(_currentLuaName, "MAP29.LUA")) {
+ // Finish MAP29
+
+ _ai->_numGooCups = 8;
+ }
+
#endif
_lua->loadLua(_currentLuaName);