diff options
author | Filippos Karapetis | 2010-07-02 10:18:11 +0000 |
---|---|---|
committer | Filippos Karapetis | 2010-07-02 10:18:11 +0000 |
commit | 79768098b13e20bade076b8a36c9d8cd16514b2a (patch) | |
tree | 03f37ecfc7a9d54a58b32dc895ea58795bbcd617 /engines/sci/resource.h | |
parent | 7b6be52f227aeaf2b544b3b35dd872f3643b1ff4 (diff) | |
download | scummvm-rg350-79768098b13e20bade076b8a36c9d8cd16514b2a.tar.gz scummvm-rg350-79768098b13e20bade076b8a36c9d8cd16514b2a.tar.bz2 scummvm-rg350-79768098b13e20bade076b8a36c9d8cd16514b2a.zip |
Added handling for kLock called with resource id -1 (unlock all resources of the requested type). Happens e.g. in KQ6 and LSL6
svn-id: r50595
Diffstat (limited to 'engines/sci/resource.h')
-rw-r--r-- | engines/sci/resource.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/resource.h b/engines/sci/resource.h index a13781b157..f66b5b3956 100644 --- a/engines/sci/resource.h +++ b/engines/sci/resource.h @@ -210,7 +210,7 @@ public: inline ResourceType getType() const { return _id.getType(); } inline uint16 getNumber() const { return _id.getNumber(); } - + bool isLocked() const { return _status == kResStatusLocked; } /** * Write the resource to the specified stream. * This method is used only by the "dump" debugger command. |