aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/surface_list.cpp
diff options
context:
space:
mode:
authorVladimir Menshakov2009-11-18 08:15:16 +0000
committerVladimir Menshakov2009-11-18 08:15:16 +0000
commit6e8595b814123cff18485998b50fe86430672348 (patch)
treef6d932b7a651ee53df5ff176d59c6c6730e6ea7c /engines/teenagent/surface_list.cpp
parent2294c6f4667cbb3e7c32487b96c0e83d3f726420 (diff)
downloadscummvm-rg350-6e8595b814123cff18485998b50fe86430672348.tar.gz
scummvm-rg350-6e8595b814123cff18485998b50fe86430672348.tar.bz2
scummvm-rg350-6e8595b814123cff18485998b50fe86430672348.zip
use actual actor position for overlay positioning to avoid z-order glitches.
svn-id: r45969
Diffstat (limited to 'engines/teenagent/surface_list.cpp')
-rw-r--r--engines/teenagent/surface_list.cpp2
1 files changed, 1 insertions, 1 deletions
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 {