aboutsummaryrefslogtreecommitdiff
path: root/engines/dm/dm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/dm/dm.cpp')
-rw-r--r--engines/dm/dm.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/dm/dm.cpp b/engines/dm/dm.cpp
index af0868d061..24182e387b 100644
--- a/engines/dm/dm.cpp
+++ b/engines/dm/dm.cpp
@@ -19,6 +19,7 @@
#include "champion.h"
#include "loadsave.h"
#include "objectman.h"
+#include "inventory.h"
namespace DM {
@@ -51,6 +52,7 @@ DMEngine::DMEngine(OSystem *syst) : Engine(syst), _console(nullptr) {
_championMan = nullptr;
_loadsaveMan = nullptr;
_objectMan = nullptr;
+ _inventoryMan = nullptr;
_stopWaitingForPlayerInput = false;
_gameTimeTicking = false;
@@ -70,6 +72,7 @@ DMEngine::~DMEngine() {
delete _championMan;
delete _loadsaveMan;
delete _objectMan;
+ delete _inventoryMan;
// clear debug channels
DebugMan.clearAllDebugChannels();
@@ -146,6 +149,7 @@ Common::Error DMEngine::run() {
_championMan = new ChampionMan(this);
_loadsaveMan = new LoadsaveMan(this);
_objectMan = new ObjectMan(this);
+ _inventoryMan = new InventoryMan(this);
_displayMan->setUpScreens(320, 200);
initializeGame(); // @ F0463_START_InitializeGame_CPSADEF