diff options
-rw-r--r-- | engines/avalanche/avalanche.cpp | 2 | ||||
-rw-r--r-- | engines/avalanche/avalot.cpp | 7 | ||||
-rw-r--r-- | engines/avalanche/avalot.h | 2 |
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); |