diff options
author | Torbjörn Andersson | 2004-04-24 12:29:35 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2004-04-24 12:29:35 +0000 |
commit | a575576890045caf4beda9dacb7923558e7f3003 (patch) | |
tree | 5cd53b8c2057241031067d372c470c34a5a13c2c /sword2/sword2.h | |
parent | 94962f6655f543f924048c23a6559932b089666b (diff) | |
download | scummvm-rg350-a575576890045caf4beda9dacb7923558e7f3003.tar.gz scummvm-rg350-a575576890045caf4beda9dacb7923558e7f3003.tar.bz2 scummvm-rg350-a575576890045caf4beda9dacb7923558e7f3003.zip |
fetchObjectName() no longer assumes that the resource will still be in the
cache after it's been closed. (Currently it always is, but ideally I'd like
for BS to work even if resource caching is disabled.)
svn-id: r13610
Diffstat (limited to 'sword2/sword2.h')
-rw-r--r-- | sword2/sword2.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sword2/sword2.h b/sword2/sword2.h index 64d90ea2ce..b256557f01 100644 --- a/sword2/sword2.h +++ b/sword2/sword2.h @@ -275,7 +275,7 @@ public: byte *fetchTextLine(byte *file, uint32 text_line); bool checkTextLine(byte *file, uint32 text_line); byte *fetchPaletteMatchTable(byte *screenFile); - byte *fetchObjectName(int32 resourceId); + byte *fetchObjectName(int32 resourceId, byte *buf); // savegame file header |