aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
authoruruk2013-07-04 18:29:04 +0200
committeruruk2013-07-04 18:29:04 +0200
commit7078b4de148dd895f50b1db66cb647ef43a51b85 (patch)
treeba800cadacec00da12a49d6a6d48f443a403fd9e /engines/avalanche
parentd27a3e07f7250ea7d8ca6304095b882adc4f22b7 (diff)
downloadscummvm-rg350-7078b4de148dd895f50b1db66cb647ef43a51b85.tar.gz
scummvm-rg350-7078b4de148dd895f50b1db66cb647ef43a51b85.tar.bz2
scummvm-rg350-7078b4de148dd895f50b1db66cb647ef43a51b85.zip
AVALANCHE: Avalot: repair initialization.
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/avalanche.cpp2
-rw-r--r--engines/avalanche/avalot.cpp7
-rw-r--r--engines/avalanche/avalot.h2
3 files changed, 8 insertions, 3 deletions
diff --git a/engines/avalanche/avalanche.cpp b/engines/avalanche/avalanche.cpp
index dec0535584..a510718d4a 100644
--- a/engines/avalanche/avalanche.cpp
+++ b/engines/avalanche/avalanche.cpp
@@ -65,7 +65,7 @@ namespace Avalanche {
_basher.setParent(this);
_dropdown.setParent(this);
_closing.setParent(this);
- _avalot.setParent(this); _avalot.init();
+ _avalot.setParent(this);
}
AvalancheEngine::~AvalancheEngine() {
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index e2ba3a4faa..e5b000f919 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -52,7 +52,7 @@
namespace Avalanche {
-void Avalot::init() {
+void Avalot::setup() {
int16 gd, gm;
checkbreak = false;
@@ -144,6 +144,11 @@ void Avalot::setParent(AvalancheEngine *vm) {
void Avalot::run(Common::String arg) {
+ setup();
+
+ _vm->_lucerna.load_also("1");
+
+
do {
_vm->_lucerna.clock_lucerna();
_vm->_basher.keyboard_link();
diff --git a/engines/avalanche/avalot.h b/engines/avalanche/avalot.h
index 23463d5646..50bff720b3 100644
--- a/engines/avalanche/avalot.h
+++ b/engines/avalanche/avalot.h
@@ -39,7 +39,7 @@ class Avalot {
public:
void setParent(AvalancheEngine *vm);
- void init();
+ void setup();
void run(Common::String arg);