aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWalter van Niftrik2016-03-26 22:36:38 +0100
committerWalter van Niftrik2016-06-06 20:35:49 +0200
commitd0f33851bc7d6256aed051eb5a3287d24969f681 (patch)
tree6674667e60afd98262c9984c1b6cf64e13480649
parent53e7ecb79c8926481bf916b16af6b6e0a88f7b7b (diff)
downloadscummvm-rg350-d0f33851bc7d6256aed051eb5a3287d24969f681.tar.gz
scummvm-rg350-d0f33851bc7d6256aed051eb5a3287d24969f681.tar.bz2
scummvm-rg350-d0f33851bc7d6256aed051eb5a3287d24969f681.zip
ADL: Fix regression in message loading
-rw-r--r--engines/adl/hires2.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/adl/hires2.cpp b/engines/adl/hires2.cpp
index c33857a317..30114d6ce4 100644
--- a/engines/adl/hires2.cpp
+++ b/engines/adl/hires2.cpp
@@ -73,6 +73,8 @@ void HiRes2Engine::init() {
if (str->isValid()) {
StreamPtr strStream(str->createReadStream());
_messages.push_back(readString(*strStream, 0xff));
+ } else {
+ _messages.push_back(Common::String());
}
}