From 6e8595b814123cff18485998b50fe86430672348 Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Wed, 18 Nov 2009 08:15:16 +0000 Subject: use actual actor position for overlay positioning to avoid z-order glitches. svn-id: r45969 --- engines/teenagent/surface_list.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/teenagent/surface_list.cpp') diff --git a/engines/teenagent/surface_list.cpp b/engines/teenagent/surface_list.cpp index 2c34b3b3fc..57cc5677d6 100644 --- a/engines/teenagent/surface_list.cpp +++ b/engines/teenagent/surface_list.cpp @@ -67,7 +67,7 @@ Common::Rect SurfaceList::render(Graphics::Surface *surface, int horizon, bool s for(uint i = 0; i < surfaces_n; ++i) { const Surface &s = surfaces[i]; if (second_pass) { - debug(0, "%d %d", s.y + s.h, horizon); + //debug(0, "%d %d", s.y + s.h, horizon); if (s.y + s.h > horizon) dirty.extend(s.render(surface)); } else { -- cgit v1.2.3