diff options
Diffstat (limited to 'engines/mads')
-rw-r--r-- | engines/mads/dragonsphere/game_dragonsphere.h | 4 | ||||
-rw-r--r-- | engines/mads/phantom/game_phantom.h | 5 |
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 { |