aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Sandulenko2016-01-07 00:12:43 +0100
committerEugene Sandulenko2016-01-07 00:12:43 +0100
commit777536d203943484cdbdd15539e5002896628a9a (patch)
tree5776f908768d5a738cebadd388777561bc95fdc6
parentb9c256587b93edd791ae3425946a5e34a5890c1c (diff)
downloadscummvm-rg350-777536d203943484cdbdd15539e5002896628a9a.tar.gz
scummvm-rg350-777536d203943484cdbdd15539e5002896628a9a.tar.bz2
scummvm-rg350-777536d203943484cdbdd15539e5002896628a9a.zip
WAGE: Add last line from scene description
-rw-r--r--engines/wage/script.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/wage/script.cpp b/engines/wage/script.cpp
index c9b456b17c..ec3f7b2115 100644
--- a/engines/wage/script.cpp
+++ b/engines/wage/script.cpp
@@ -1257,6 +1257,9 @@ void Script::convertToText() {
}
}
}
+
+ if (scr->line.size())
+ _scriptText.push_back(scr);
}
} // End of namespace Wage