diff options
author | Gregory Montoir | 2004-01-19 22:31:21 +0000 |
---|---|---|
committer | Gregory Montoir | 2004-01-19 22:31:21 +0000 |
commit | 95891f95c728cdcf8bbd66d42a4c2b08c735b4fc (patch) | |
tree | 262095890794d6b528fa55f6c23a071156475b97 /queen/logic.cpp | |
parent | 392940e7dd396c932dfba946642f0e567f656dc9 (diff) | |
download | scummvm-rg350-95891f95c728cdcf8bbd66d42a4c2b08c735b4fc.tar.gz scummvm-rg350-95891f95c728cdcf8bbd66d42a4c2b08c735b4fc.tar.bz2 scummvm-rg350-95891f95c728cdcf8bbd66d42a4c2b08c735b4fc.zip |
*temporary* fix for LineReader to handle files not terminated by an empty string (*.crd)
svn-id: r12527
Diffstat (limited to 'queen/logic.cpp')
-rw-r--r-- | queen/logic.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/queen/logic.cpp b/queen/logic.cpp index 5bd080d763..7c7197ce3e 100644 --- a/queen/logic.cpp +++ b/queen/logic.cpp @@ -187,7 +187,9 @@ void Logic::initialise() { // Step 2 : read queen2.jas and grab all description texts - _queen2jas = new LineReader((char*)_vm->resource()->loadFile("QUEEN2.JAS")); + _queen2jas = new LineReader( + (char *)_vm->resource()->loadFile("QUEEN2.JAS"), + _vm->resource()->fileSize("QUEEN2.JAS")); _objDescription = new char*[_numDescriptions + 1]; _objDescription[0] = 0; |