diff options
author | uruk | 2014-07-21 20:20:33 +0200 |
---|---|---|
committer | uruk | 2014-07-21 20:20:33 +0200 |
commit | bac952917ffb4901ad03e67a6ba65f74e65ec5e4 (patch) | |
tree | 91ba4090b232405fc7280f2b7fb5e0f2bdba0224 /engines/cge2 | |
parent | 6e26422468b8667c86219069cea25466370656e1 (diff) | |
download | scummvm-rg350-bac952917ffb4901ad03e67a6ba65f74e65ec5e4.tar.gz scummvm-rg350-bac952917ffb4901ad03e67a6ba65f74e65ec5e4.tar.bz2 scummvm-rg350-bac952917ffb4901ad03e67a6ba65f74e65ec5e4.zip |
CGE2: Remove Spare::locate(char *file), since it's not used anymore.
Diffstat (limited to 'engines/cge2')
-rw-r--r-- | engines/cge2/spare.cpp | 8 | ||||
-rw-r--r-- | engines/cge2/spare.h | 1 |
2 files changed, 0 insertions, 9 deletions
diff --git a/engines/cge2/spare.cpp b/engines/cge2/spare.cpp index 547d070fc9..4ca29009d8 100644 --- a/engines/cge2/spare.cpp +++ b/engines/cge2/spare.cpp @@ -67,14 +67,6 @@ Sprite *Spare::locate(int ref) { return nullptr; } -Sprite *Spare::locate(char *file) { - for (uint i = 0; i < _container.size(); ++i) { - if (strcmp(_container[i]->_file, file) == 0) - return _container[i]; - } - return nullptr; -} - Sprite *Spare::take(int ref) { Sprite *spr = nullptr; if ((spr = locate(ref)) != nullptr) { diff --git a/engines/cge2/spare.h b/engines/cge2/spare.h index cfc158d4b6..7dc6ce60f5 100644 --- a/engines/cge2/spare.h +++ b/engines/cge2/spare.h @@ -40,7 +40,6 @@ public: ~Spare() { clear(); } void store(Sprite *spr); Sprite *locate(int ref); - Sprite *locate(char *file); Sprite *take(int ref); void takeScene(int cav); void update(Sprite *spr); |