aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorFilippos Karapetis2014-05-20 13:52:23 +0300
committerFilippos Karapetis2014-05-20 13:52:23 +0300
commit1b34888b26d460cd7f36b6a5b280f931f97e6464 (patch)
tree007e5e65d1d5f4e0df914b80bc3c6afb2388c419 /engines/mads
parent60b9876d8187d735ac933f5be2de61a9142115e2 (diff)
downloadscummvm-rg350-1b34888b26d460cd7f36b6a5b280f931f97e6464.tar.gz
scummvm-rg350-1b34888b26d460cd7f36b6a5b280f931f97e6464.tar.bz2
scummvm-rg350-1b34888b26d460cd7f36b6a5b280f931f97e6464.zip
MADS: Fix the GMM menu for V2 games
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/dragonsphere/game_dragonsphere.h4
-rw-r--r--engines/mads/phantom/game_phantom.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/engines/mads/dragonsphere/game_dragonsphere.h b/engines/mads/dragonsphere/game_dragonsphere.h
index c5d6c0dd70..259c4168c1 100644
--- a/engines/mads/dragonsphere/game_dragonsphere.h
+++ b/engines/mads/dragonsphere/game_dragonsphere.h
@@ -91,7 +91,9 @@ enum InventoryObject {
// HACK: A stub for now, remove from here once it's implemented properly
class DragonsphereGlobals: public Globals {
public:
- DragonsphereGlobals() {}
+ DragonsphereGlobals() {
+ resize(210); // Rex has 210 globals
+ }
virtual ~DragonsphereGlobals() {}
};
diff --git a/engines/mads/phantom/game_phantom.h b/engines/mads/phantom/game_phantom.h
index 600c5842a6..c99e81ee70 100644
--- a/engines/mads/phantom/game_phantom.h
+++ b/engines/mads/phantom/game_phantom.h
@@ -67,7 +67,10 @@ enum InventoryObject {
// HACK: A stub for now, remove from here once it's implemented properly
class PhantomGlobals: public Globals {
public:
- PhantomGlobals() {}
+ PhantomGlobals() {
+ resize(210); // Rex has 210 globals
+ }
+ virtual ~PhantomGlobals() {}
};
class GamePhantom: public Game {