[Scummvm-cvs-logs] SF.net SVN: scummvm: [27139] scummvm/branches/branch-0-10-0/engines/agos/ charset.cpp
Kirben at users.sourceforge.net
Kirben at users.sourceforge.net
Wed Jun 6 16:00:12 CEST 2007
Revision: 27139
http://scummvm.svn.sourceforge.net/scummvm/?rev=27139&view=rev
Author: Kirben
Date: 2007-06-06 07:00:11 -0700 (Wed, 06 Jun 2007)
Log Message:
-----------
Fix glitches when highlighting words in Elvira 2, the characters were drawn at the incorrect location, due to difference in column offset used for new lines.
Modified Paths:
--------------
scummvm/branches/branch-0-10-0/engines/agos/charset.cpp
Modified: scummvm/branches/branch-0-10-0/engines/agos/charset.cpp
===================================================================
--- scummvm/branches/branch-0-10-0/engines/agos/charset.cpp 2007-06-06 13:59:04 UTC (rev 27138)
+++ scummvm/branches/branch-0-10-0/engines/agos/charset.cpp 2007-06-06 14:00:11 UTC (rev 27139)
@@ -695,7 +695,7 @@
void AGOSEngine::windowNewLine(WindowBlock *window) {
window->textColumn = 0;
- window->textColumnOffset = 0;
+ window->textColumnOffset = (getGameType() == GType_ELVIRA2) ? 4 : 0;
window->textLength = 0;
if (window->textRow == window->height) {
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