[Scummvm-cvs-logs] SF.net SVN: scummvm: [26519] scummvm/trunk/engines/scumm/string.cpp

cyx at users.sourceforge.net cyx at users.sourceforge.net
Sun Apr 15 23:03:07 CEST 2007


Revision: 26519
          http://scummvm.svn.sourceforge.net/scummvm/?rev=26519&view=rev
Author:   cyx
Date:     2007-04-15 14:03:06 -0700 (Sun, 15 Apr 2007)

Log Message:
-----------
removed unnecessary casts

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/string.cpp

Modified: scummvm/trunk/engines/scumm/string.cpp
===================================================================
--- scummvm/trunk/engines/scumm/string.cpp	2007-04-15 20:57:56 UTC (rev 26518)
+++ scummvm/trunk/engines/scumm/string.cpp	2007-04-15 21:03:06 UTC (rev 26519)
@@ -762,7 +762,7 @@
 				}
 			}
 			if (subtitlePos.y < _screenHeight - 10) {
-				((ScummEngine_v7 *)this)->addSubtitleToQueue(subtitleBuffer + substring[i].pos, subtitlePos, _charsetColor, _charset->getCurID());
+				addSubtitleToQueue(subtitleBuffer + substring[i].pos, subtitlePos, _charsetColor, _charset->getCurID());
 			}
 			subtitlePos.y += _charset->getFontHeight();
 		}
@@ -782,7 +782,7 @@
 					subtitlePos.x = 10;
 				}
 				if (subtitlePos.y < _screenHeight - 10) {
-					((ScummEngine_v7 *)this)->addSubtitleToQueue(subtitleBuffer, subtitlePos, _charsetColor, _charset->getCurID());
+					addSubtitleToQueue(subtitleBuffer, subtitlePos, _charsetColor, _charset->getCurID());
 					subtitlePos.y += _charset->getFontHeight();
 				}
 				subtitleLine = subtitleBuffer;


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