[Scummvm-cvs-logs] SF.net SVN: scummvm:[39050] residual/trunk/engine/actor.cpp

eriktorbjorn at users.sourceforge.net eriktorbjorn at users.sourceforge.net
Sun Mar 1 20:54:04 CET 2009


Revision: 39050
          http://scummvm.svn.sourceforge.net/scummvm/?rev=39050&view=rev
Author:   eriktorbjorn
Date:     2009-03-01 19:54:04 +0000 (Sun, 01 Mar 2009)

Log Message:
-----------
Adjusted text X position to be less crash-prone when talking to Glottis. This
may not be completely right, but I've discussed it with aquadran who says that
text positioning needs to be rewritten anyway.

Modified Paths:
--------------
    residual/trunk/engine/actor.cpp

Modified: residual/trunk/engine/actor.cpp
===================================================================
--- residual/trunk/engine/actor.cpp	2009-03-01 19:46:07 UTC (rev 39049)
+++ residual/trunk/engine/actor.cpp	2009-03-01 19:54:04 UTC (rev 39050)
@@ -379,7 +379,7 @@
 			_sayLineText->setX(640 / 2);
 			_sayLineText->setY(0);
 		} else {
-			_sayLineText->setX(_winX1);
+			_sayLineText->setX((_winX1 + _winX2) / 2);
 			_sayLineText->setY(_winY1);
 		}
 	}


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list