diff options
| author | Max Horn | 2002-12-28 01:57:19 +0000 |
|---|---|---|
| committer | Max Horn | 2002-12-28 01:57:19 +0000 |
| commit | ae5b30df3d67644f341a30997de5192fed8bcbdc (patch) | |
| tree | db63a860f15229ec901e9b6d0bedaaf9f6f2435f /scumm/script_v5.cpp | |
| parent | 319facc9c3a54bff3adab663e32f37bddb07c9e9 (diff) | |
| download | scummvm-rg350-ae5b30df3d67644f341a30997de5192fed8bcbdc.tar.gz scummvm-rg350-ae5b30df3d67644f341a30997de5192fed8bcbdc.tar.bz2 scummvm-rg350-ae5b30df3d67644f341a30997de5192fed8bcbdc.zip | |
get rid of getStringLen and use the more powerful resStrLen instead; moved resStrLen from common/ to scumm/, where it belongs; enhanced resStrLen to suport V8; fixed translateText to support embeded vars (in strings I mean) - it may still not be fully correct but at least is better now; rewrote o6_arrayOps to parallel the V8 version - needs testing
svn-id: r6215
Diffstat (limited to 'scumm/script_v5.cpp')
| -rw-r--r-- | scumm/script_v5.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp index f624eec045..6310f058f5 100644 --- a/scumm/script_v5.cpp +++ b/scumm/script_v5.cpp @@ -1827,7 +1827,7 @@ void Scumm_v5::o5_roomOps() if (out) { byte *ptr; ptr = getResourceAddress(rtString, a); - fwrite(ptr, getStringLen(ptr) + 1, 1, out); + fwrite(ptr, resStrLen(ptr) + 1, 1, out); fclose(out); } break; |
