aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/file_v1d.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/hugo/file_v1d.cpp')
-rw-r--r--engines/hugo/file_v1d.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/file_v1d.cpp b/engines/hugo/file_v1d.cpp
index 72f99615b8..49543eea49 100644
--- a/engines/hugo/file_v1d.cpp
+++ b/engines/hugo/file_v1d.cpp
@@ -110,7 +110,7 @@ char *FileManager_v1d::fetchString(int index) {
*/
void FileManager_v1d::instructions() {
Common::File f;
- if (!f.open(HELPFILE)) {
+ if (!f.open("help.dat")) {
warning("help.dat not found");
return;
}
@@ -123,7 +123,7 @@ void FileManager_v1d::instructions() {
wrkLine++;
do {
f.read(wrkLine, 1);
- } while (*wrkLine++ != EOP);
+ } while (*wrkLine++ != '#'); // '#' is EOP
wrkLine[-2] = '\0'; // Remove EOP and previous CR
Utils::Box(kBoxAny, "%s", line);
wrkLine = line;