aboutsummaryrefslogtreecommitdiff
path: root/engines/lab/engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/lab/engine.cpp')
-rw-r--r--engines/lab/engine.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/lab/engine.cpp b/engines/lab/engine.cpp
index ed90443a1d..1c89a749c8 100644
--- a/engines/lab/engine.cpp
+++ b/engines/lab/engine.cpp
@@ -236,8 +236,6 @@ static void drawRoomMessage(uint16 CurInv, CloseDataPtr cptr) {
}
-static uint16 OldMode;
-
/******************************************************************************/
/* Sets up the Labyrinth screens, and opens up the initial windows. */
/******************************************************************************/
@@ -1390,8 +1388,6 @@ void LabEngine::go() {
bool mem, dointro = false;
uint16 counter;
- getMode(&OldMode);
-
DoMusic = true;
g_music->_turnMusicOn = true;
dointro = true;
@@ -1443,8 +1439,6 @@ void LabEngine::go() {
}
if (!initMouse()) {
- setMode((char) OldMode);
-
return;
}
@@ -1497,8 +1491,6 @@ void LabEngine::go() {
g_music->freeMusic();
freeAudio();
-
- setMode((char)OldMode);
}
/*****************************************************************************/