aboutsummaryrefslogtreecommitdiff
path: root/engines/agi/preagi_mickey.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2011-08-15 22:03:58 -0400
committerMatthew Hoops2011-08-15 22:24:42 -0400
commit6f83052b403b2ddcb51f7e732564bd53c240e1a9 (patch)
tree334fe39a61e148c9089a56cc59f825411f918190 /engines/agi/preagi_mickey.cpp
parent87b48806dd2b02b99eb986683d286789213a7985 (diff)
downloadscummvm-rg350-6f83052b403b2ddcb51f7e732564bd53c240e1a9.tar.gz
scummvm-rg350-6f83052b403b2ddcb51f7e732564bd53c240e1a9.tar.bz2
scummvm-rg350-6f83052b403b2ddcb51f7e732564bd53c240e1a9.zip
AGI: Cleanup PreAGI console code
Diffstat (limited to 'engines/agi/preagi_mickey.cpp')
-rw-r--r--engines/agi/preagi_mickey.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/agi/preagi_mickey.cpp b/engines/agi/preagi_mickey.cpp
index 3164011edb..6d1eb445a2 100644
--- a/engines/agi/preagi_mickey.cpp
+++ b/engines/agi/preagi_mickey.cpp
@@ -2247,10 +2247,11 @@ void MickeyEngine::debugGotoRoom(int room) {
}
MickeyEngine::MickeyEngine(OSystem *syst, const AGIGameDescription *gameDesc) : PreAgiEngine(syst, gameDesc) {
- _console = new Mickey_Console(this);
+ _console = new MickeyConsole(this);
}
MickeyEngine::~MickeyEngine() {
+ delete _console;
}
void MickeyEngine::init() {