aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage/tsage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/tsage/tsage.cpp')
-rw-r--r--engines/tsage/tsage.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/tsage/tsage.cpp b/engines/tsage/tsage.cpp
index 7e7198fc2b..20b2eeac8f 100644
--- a/engines/tsage/tsage.cpp
+++ b/engines/tsage/tsage.cpp
@@ -97,7 +97,13 @@ void TSageEngine::initialize() {
// Reset all global variables
R2_GLOBALS.reset();
- }
+ } else if (g_vm->getGameID() == GType_Geekwad) {
+ g_resourceManager->addLib("GEEKWAD.RLB");
+ g_globals = new Geekwad::GeekwadGlobals();
+
+ // Reset all global variables
+ GW_GLOBALS.reset();
+ }
g_globals->gfxManager().setDefaults();