diff options
author | Paul Gilbert | 2015-03-22 09:51:37 -0400 |
---|---|---|
committer | Paul Gilbert | 2015-03-22 09:51:37 -0400 |
commit | e444d989bb3470650020cb2c3f0fdb7b2fcab70a (patch) | |
tree | 9232d6357c0f5106176d12d29060106b1c1c05d4 /engines/sherlock/inventory.cpp | |
parent | 3c77a521dc07a8c0954b11b26dda382817776b9e (diff) | |
download | scummvm-rg350-e444d989bb3470650020cb2c3f0fdb7b2fcab70a.tar.gz scummvm-rg350-e444d989bb3470650020cb2c3f0fdb7b2fcab70a.tar.bz2 scummvm-rg350-e444d989bb3470650020cb2c3f0fdb7b2fcab70a.zip |
SHERLOCK: Implemented scene freeing code
Diffstat (limited to 'engines/sherlock/inventory.cpp')
-rw-r--r-- | engines/sherlock/inventory.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sherlock/inventory.cpp b/engines/sherlock/inventory.cpp index cbb69f1041..2a277a6331 100644 --- a/engines/sherlock/inventory.cpp +++ b/engines/sherlock/inventory.cpp @@ -106,7 +106,7 @@ void Inventory::loadGraphics() { int Inventory::findInv(const Common::String &name) { int result = -1; - for (uint idx = 0; (idx < _holdings) && result == -1; ++idx) { + for (int idx = 0; (idx < _holdings) && result == -1; ++idx) { if (scumm_stricmp(name.c_str(), _names[idx].c_str()) == 0) result = idx; } |