diff options
author | Torbjörn Andersson | 2003-09-30 09:27:27 +0000 |
---|---|---|
committer | Torbjörn Andersson | 2003-09-30 09:27:27 +0000 |
commit | 568a4bd8394e8ada14c6dabb1dda149c8e5f5608 (patch) | |
tree | b96d7c29d6c68b9dbe549242e93993e1cfd195fe /sword2/protocol.cpp | |
parent | e70fcf1737812b3afa35f5350ba80e07d8359569 (diff) | |
download | scummvm-rg350-568a4bd8394e8ada14c6dabb1dda149c8e5f5608.tar.gz scummvm-rg350-568a4bd8394e8ada14c6dabb1dda149c8e5f5608.tar.bz2 scummvm-rg350-568a4bd8394e8ada14c6dabb1dda149c8e5f5608.zip |
Changed the resource manager object to use more ScummVM-like naming.
svn-id: r10499
Diffstat (limited to 'sword2/protocol.cpp')
-rw-r--r-- | sword2/protocol.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sword2/protocol.cpp b/sword2/protocol.cpp index ae1882643c..dd234f3751 100644 --- a/sword2/protocol.cpp +++ b/sword2/protocol.cpp @@ -204,8 +204,8 @@ uint8 CheckTextLine(uint8 *file, uint32 text_line) { uint8 *FetchObjectName(int32 resourceId) { _standardHeader *header; - header = (_standardHeader*) res_man.Res_open(resourceId); - res_man.Res_close(resourceId); + header = (_standardHeader*) res_man.open(resourceId); + res_man.close(resourceId); // note this pointer is no longer valid, but it should be ok until // another resource is opened! |