aboutsummaryrefslogtreecommitdiff
path: root/engines/sludge/sludge.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/sludge/sludge.cpp')
-rw-r--r--engines/sludge/sludge.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/sludge/sludge.cpp b/engines/sludge/sludge.cpp
index 483fb53d7d..38fe12a4a6 100644
--- a/engines/sludge/sludge.cpp
+++ b/engines/sludge/sludge.cpp
@@ -29,6 +29,7 @@
#include "sludge/event.h"
#include "sludge/fonttext.h"
#include "sludge/graphics.h"
+#include "sludge/people.h"
#include "sludge/region.h"
#include "sludge/sludge.h"
#include "sludge/sound.h"
@@ -74,6 +75,7 @@ SludgeEngine::SludgeEngine(OSystem *syst, const SludgeGameDescription *gameDesc)
fatalInfo = "Initialisation error! Something went wrong before we even got started!";
// Init managers
+ _peopleMan = new PeopleManager(this);
_resMan = new ResourceManager();
_languageMan = new LanguageManager();
_objMan = new ObjectManager(this);
@@ -126,6 +128,8 @@ SludgeEngine::~SludgeEngine() {
_speechMan = nullptr;
delete _regionMan;
_regionMan = nullptr;
+ delete _peopleMan;
+ _peopleMan = nullptr;
}
Common::Error SludgeEngine::run() {