aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/hugo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/hugo.cpp')
-rw-r--r--engines/hugo/hugo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/hugo/hugo.cpp b/engines/hugo/hugo.cpp
index c3e4658e8b..a270ec773e 100644
--- a/engines/hugo/hugo.cpp
+++ b/engines/hugo/hugo.cpp
@@ -81,6 +81,7 @@ HugoEngine::HugoEngine(OSystem *syst, const HugoGameDescription *gd) : Engine(sy
DebugMan.addDebugChannel(kDebugObject, "Object", "Object debug level");
_console = new HugoConsole(this);
+ _rnd = 0;
}
HugoEngine::~HugoEngine() {
@@ -167,6 +168,7 @@ HugoEngine::~HugoEngine() {
DebugMan.clearAllDebugChannels();
delete _console;
+ delete _rnd;
}
GameType HugoEngine::getGameType() const {