aboutsummaryrefslogtreecommitdiff
path: root/engines/cge/cge.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2011-06-28 22:18:21 +1000
committerPaul Gilbert2011-06-28 22:18:21 +1000
commita89ce394bcaa9f967f2db7e9281bf25f381ceb69 (patch)
treecb28472d511b523dcb671ed1908557d197dff7b8 /engines/cge/cge.cpp
parentd4b11df58b9b94b2e5c85cb2f9a4e712a8aaf72c (diff)
downloadscummvm-rg350-a89ce394bcaa9f967f2db7e9281bf25f381ceb69.tar.gz
scummvm-rg350-a89ce394bcaa9f967f2db7e9281bf25f381ceb69.tar.bz2
scummvm-rg350-a89ce394bcaa9f967f2db7e9281bf25f381ceb69.zip
CGE: Fix initialisation of the TALK class
Diffstat (limited to 'engines/cge/cge.cpp')
-rw-r--r--engines/cge/cge.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/engines/cge/cge.cpp b/engines/cge/cge.cpp
index 2fd196f509..f2bebef258 100644
--- a/engines/cge/cge.cpp
+++ b/engines/cge/cge.cpp
@@ -32,6 +32,7 @@
#include "cge/cge.h"
#include "cge/vga13h.h"
#include "cge/cge_main.h"
+#include "cge/talk.h"
#include "cge/text.h"
#include "cge/bitmaps.h"
#include "cge/vol.h"
@@ -54,9 +55,10 @@ void CGEEngine::setup() {
_console = new CGEConsole(this);
// Initialise classes that have static members
- BITMAP::init();
- VFILE::init();
VGA::init();
+ VFILE::init();
+ BITMAP::init();
+ TALK::init();
// Initialise engine objects
Text = new TEXT(this, ProgName(), 128);
@@ -102,6 +104,7 @@ CGEEngine::~CGEEngine() {
debug("CGEEngine::~CGEEngine");
// Call classes with static members to clear them up
+ TALK::deinit();
BITMAP::deinit();
VFILE::deinit();
VGA::deinit();