SCI: fix bug in new string identifying code
fixes string identifying in mac SCI1.1 games
This commit is contained in:
parent
ed7007162a
commit
f1a75991ed
1 changed files with 2 additions and 2 deletions
|
@ -274,7 +274,7 @@ void Script::identifyStrings() {
|
|||
listEntry.ptrOffset = stringStartPtr - _buf; // Calculate offset inside script data
|
||||
// now look for terminating [NUL]
|
||||
do {
|
||||
stringDataByte = READ_SCI11ENDIAN_UINT16(stringDataPtr);
|
||||
stringDataByte = *stringDataPtr;
|
||||
stringDataPtr++;
|
||||
stringDataLeft--;
|
||||
if (!stringDataByte) // NUL found, exit this loop
|
||||
|
@ -356,7 +356,7 @@ void Script::identifyStrings() {
|
|||
listEntry.ptrOffset = stringStartPtr - _buf; // Calculate offset inside script data
|
||||
// now look for terminating [NUL]
|
||||
do {
|
||||
stringDataByte = READ_SCI11ENDIAN_UINT16(stringDataPtr);
|
||||
stringDataByte = *stringDataPtr;
|
||||
stringDataPtr++;
|
||||
stringDataLeft--;
|
||||
if (!stringDataByte) // NUL found, exit this loop
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue