aboutsummaryrefslogtreecommitdiff
path: root/engines/adl/adl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/adl/adl.cpp')
-rw-r--r--engines/adl/adl.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/adl/adl.cpp b/engines/adl/adl.cpp
index 58d5fa9e67..1f0b0b173a 100644
--- a/engines/adl/adl.cpp
+++ b/engines/adl/adl.cpp
@@ -56,6 +56,7 @@ AdlEngine::AdlEngine(OSystem *syst, const AdlGameDescription *gd) :
_display(nullptr),
_graphics(nullptr),
_textMode(false),
+ _linesPrinted(0),
_isRestarting(false),
_isRestoring(false),
_isQuitting(false),
@@ -635,6 +636,8 @@ void AdlEngine::gameLoop() {
if (shouldQuit())
return;
+ _linesPrinted = 0;
+
// If we just restored from the GMM, we skip this command
// set, as no command has been input by the user
if (!_isRestoring)