aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 7014b66f87..ec6f4943db 100644
--- a/engines/hugo/hugo.cpp
+++ b/engines/hugo/hugo.cpp
@@ -146,6 +146,7 @@ HugoEngine::~HugoEngine() {
delete _intro;
delete _scheduler;
delete _file;
+ delete _text;
DebugMan.clearAllDebugChannels();
delete _console;
@@ -319,6 +320,7 @@ void HugoEngine::runMachine() {
g_system->delayMillis(5);
_curTime = g_system->getMillis();
}
+
_lastTime = _curTime;
switch (gameStatus.viewState) {