aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent
diff options
context:
space:
mode:
authorVladimir Menshakov2010-01-06 21:03:52 +0000
committerVladimir Menshakov2010-01-06 21:03:52 +0000
commitd2978e3d920ba82874c7d1886983335248c29437 (patch)
treed4ae082637e5d8ef2ec54a6ef9ed11ca2a4016ec /engines/teenagent
parent72ecf8b61e2e5ddad37a62831d4c7295e60cda9d (diff)
downloadscummvm-rg350-d2978e3d920ba82874c7d1886983335248c29437.tar.gz
scummvm-rg350-d2978e3d920ba82874c7d1886983335248c29437.tar.bz2
scummvm-rg350-d2978e3d920ba82874c7d1886983335248c29437.zip
added hardcoded height value
svn-id: r47097
Diffstat (limited to 'engines/teenagent')
-rw-r--r--engines/teenagent/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/actor.cpp b/engines/teenagent/actor.cpp
index 8385c82985..3d93c977a9 100644
--- a/engines/teenagent/actor.cpp
+++ b/engines/teenagent/actor.cpp
@@ -54,7 +54,7 @@ Common::Rect Actor::renderIdle(Graphics::Surface *surface, const Common::Point &
Surface *s = frames + *frames_idle - 1;
///\todo remove copy-paste here and below
- int xp = position.x - s->w * zoom / 512 - s->x, yp = position.y - s->h * zoom / 256 - s->y;
+ int xp = position.x - s->w * zoom / 512 - s->x, yp = position.y - 62 * zoom / 256 - s->y; //hardcoded in original game
return s->render(surface, xp, yp, mirror, Common::Rect(), zoom);
}