From d2978e3d920ba82874c7d1886983335248c29437 Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Wed, 6 Jan 2010 21:03:52 +0000 Subject: added hardcoded height value svn-id: r47097 --- engines/teenagent/actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/teenagent') 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); } -- cgit v1.2.3