diff options
author | uruk | 2014-07-17 20:50:16 +0200 |
---|---|---|
committer | uruk | 2014-07-17 20:50:16 +0200 |
commit | f3345f296f992ec2766fe9e9687f9997b0c34c6f (patch) | |
tree | e29f67299be2755aec2be583eb6e2df14a021422 /engines | |
parent | 5963a540ef161e804f756d54970b2c7cb55fcc00 (diff) | |
download | scummvm-rg350-f3345f296f992ec2766fe9e9687f9997b0c34c6f.tar.gz scummvm-rg350-f3345f296f992ec2766fe9e9687f9997b0c34c6f.tar.bz2 scummvm-rg350-f3345f296f992ec2766fe9e9687f9997b0c34c6f.zip |
CGE2: Use locate instead() of take() in CGE2Eninge::locate().
It fixes the regression with the hole of the sign post on the ground from scene 6 and the display bug in the hospital.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge2/cge2_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index 9111a10e58..e0cd688988 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -580,7 +580,7 @@ Sprite *CGE2Engine::locate(int ref) { _taken = false; Sprite *spr = _vga->_showQ->locate(ref); if (!spr) { - spr = _spare->take(ref); + spr = _spare->locate(ref); if (spr) _taken = true; } |