From f3345f296f992ec2766fe9e9687f9997b0c34c6f Mon Sep 17 00:00:00 2001 From: uruk Date: Thu, 17 Jul 2014 20:50:16 +0200 Subject: 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. --- engines/cge2/cge2_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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; } -- cgit v1.2.3