aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruruk2014-07-17 20:50:16 +0200
committeruruk2014-07-17 20:50:16 +0200
commitf3345f296f992ec2766fe9e9687f9997b0c34c6f (patch)
treee29f67299be2755aec2be583eb6e2df14a021422
parent5963a540ef161e804f756d54970b2c7cb55fcc00 (diff)
downloadscummvm-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.
-rw-r--r--engines/cge2/cge2_main.cpp2
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;
}