aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/scene.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/scene.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/scene.cpp')
-rw-r--r--engines/teenagent/scene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/scene.cpp b/engines/teenagent/scene.cpp
index 4e2a9463e6..31f529e75a 100644
--- a/engines/teenagent/scene.cpp
+++ b/engines/teenagent/scene.cpp
@@ -651,7 +651,7 @@ bool Scene::render(OSystem *system) {
if (debug_features.feature[DebugFeatures::kShowOn]) {
if (_id != 16 || getOns(16)[0] != 0) {
- on.render(surface, actor_animation_position.bottom, false); //do not render boat on isle. I double checked all callbacks, there's no code switching off the boat :(
+ on.render(surface, position.y, false); //do not render boat on isle. I double checked all callbacks, there's no code switching off the boat :(
}
}
@@ -720,7 +720,7 @@ bool Scene::render(OSystem *system) {
//render on
if (debug_features.feature[DebugFeatures::kShowOn]) {
if (_id != 16 || getOns(16)[0] != 0) {
- on.render(surface, actor_animation_position.bottom, true); //do not render boat on isle. I double checked all callbacks, there's no code switching off the boat :(
+ on.render(surface, position.y, true); //do not render boat on isle. I double checked all callbacks, there's no code switching off the boat :(
}
}