mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-19 00:15:30 +00:00
CGE2: Remove Spare::locate(char *file), since it's not used anymore.
This commit is contained in:
parent
6e26422468
commit
bac952917f
@ -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) {
|
||||
|
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user