mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
CGE2: Rework CGE2Engine::locate().
This commit is contained in:
@@ -590,7 +590,7 @@ Sprite *CGE2Engine::locate(int ref) {
|
||||
_taken = false;
|
||||
Sprite *spr = _vga->_showQ->locate(ref);
|
||||
if (!spr) {
|
||||
spr = _spare->locate(ref);
|
||||
spr = _spare->take(ref);
|
||||
if (spr)
|
||||
_taken = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user