aboutsummaryrefslogtreecommitdiff
path: root/engines/avalanche
diff options
context:
space:
mode:
Diffstat (limited to 'engines/avalanche')
-rw-r--r--engines/avalanche/avalot.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/avalanche/avalot.cpp b/engines/avalanche/avalot.cpp
index ae437a66cc..af526355fe 100644
--- a/engines/avalanche/avalot.cpp
+++ b/engines/avalanche/avalot.cpp
@@ -29,6 +29,7 @@
#include "avalanche/avalanche.h"
+#include "avalanche/graph.h"
#include "avalanche/avalot.h"
#include "avalanche/gyro2.h"
#include "avalanche/trip6.h"
@@ -43,13 +44,15 @@
#include "avalanche/celer2.h"
#include "avalanche/enid2.h"
#include "avalanche/visa2.h"
+#include "avalanche/closing2.h"
/*#include "Incline.h"*/
-/*#include "Closing.h"*/
#include "common/str.h"
#include "common/textconsole.h"
+
+
namespace Avalanche {
void Avalot::setup() {
@@ -98,7 +101,7 @@ void Avalot::setup() {
_vm->_trip.loadtrip();
- if ((_vm->_gyro.filetoload == "") && (! _vm->_gyro.reloaded))
+ if ((_vm->_gyro.filetoload.empty()) && (! _vm->_gyro.reloaded)*)
_vm->_gyro.newgame(); /* no game was requested- load the default */
else {
if (! _vm->_gyro.reloaded)
@@ -145,7 +148,7 @@ void Avalot::setParent(AvalancheEngine *vm) {
void Avalot::run(Common::String arg) {
setup();
-
+
do {
_vm->_lucerna.clock_lucerna();
_vm->_basher.keyboard_link();