aboutsummaryrefslogtreecommitdiff
path: root/engines/drascula/converse.cpp
diff options
context:
space:
mode:
authorNicola Mettifogo2010-02-08 16:13:09 +0000
committerNicola Mettifogo2010-02-08 16:13:09 +0000
commit1fe0facb2447ea62b9b8dcb03a2a879de24fc51f (patch)
tree08c32b7ca6b3a1cb0a3487ef594d472dd29ab8fc /engines/drascula/converse.cpp
parent0b06fb2a88aa33e6f74b42de84aa3a1f4f9b87ac (diff)
downloadscummvm-rg350-1fe0facb2447ea62b9b8dcb03a2a879de24fc51f.tar.gz
scummvm-rg350-1fe0facb2447ea62b9b8dcb03a2a879de24fc51f.tar.bz2
scummvm-rg350-1fe0facb2447ea62b9b8dcb03a2a879de24fc51f.zip
Pass the input stream to text parser functions.
svn-id: r47992
Diffstat (limited to 'engines/drascula/converse.cpp')
-rw-r--r--engines/drascula/converse.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/engines/drascula/converse.cpp b/engines/drascula/converse.cpp
index b98e7e8cb4..707ae55b63 100644
--- a/engines/drascula/converse.cpp
+++ b/engines/drascula/converse.cpp
@@ -150,17 +150,17 @@ void DrasculaEngine::converse(int index) {
selectVerb(kVerbNone);
- getStringFromLine(size, phrase1);
- getStringFromLine(size, phrase2);
- getStringFromLine(size, phrase3);
- getStringFromLine(size, phrase4);
- getStringFromLine(size, sound1);
- getStringFromLine(size, sound2);
- getStringFromLine(size, sound3);
- getStringFromLine(size, sound4);
- getIntFromLine(size, &answer1);
- getIntFromLine(size, &answer2);
- getIntFromLine(size, &answer3);
+ getStringFromLine(_arj, size, phrase1);
+ getStringFromLine(_arj, size, phrase2);
+ getStringFromLine(_arj, size, phrase3);
+ getStringFromLine(_arj, size, phrase4);
+ getStringFromLine(_arj, size, sound1);
+ getStringFromLine(_arj, size, sound2);
+ getStringFromLine(_arj, size, sound3);
+ getStringFromLine(_arj, size, sound4);
+ getIntFromLine(_arj, size, &answer1);
+ getIntFromLine(_arj, size, &answer2);
+ getIntFromLine(_arj, size, &answer3);
_arj.close();