From: <fu...@us...> - 2009-06-10 20:51:30
|
Revision: 6391 http://gemrb.svn.sourceforge.net/gemrb/?rev=6391&view=rev Author: fuzzie Date: 2009-06-10 20:51:23 +0000 (Wed, 10 Jun 2009) Log Message: ----------- don't position tooltips above actors Modified Paths: -------------- gemrb/trunk/gemrb/plugins/Core/GameControl.cpp Modified: gemrb/trunk/gemrb/plugins/Core/GameControl.cpp =================================================================== --- gemrb/trunk/gemrb/plugins/Core/GameControl.cpp 2009-06-10 20:08:59 UTC (rev 6390) +++ gemrb/trunk/gemrb/plugins/Core/GameControl.cpp 2009-06-10 20:51:23 UTC (rev 6391) @@ -1006,8 +1006,7 @@ Point p = actor->Pos; core->GetVideoDriver()->ConvertToScreen( p.x, p.y ); p.x += Owner->XPos + XPos; - // try positioning above (see also ActorBlock::DrawOverheadText) - p.y += Owner->YPos + YPos - actor->size*50; + p.y += Owner->YPos + YPos; // we should probably cope better with moving actors SetTooltip(buffer); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |