aboutsummaryrefslogtreecommitdiff
path: root/engines/mads/phantom
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/phantom
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/phantom')
-rw-r--r--engines/mads/phantom/game_phantom.h5
1 files changed, 4 insertions, 1 deletions
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 {