diff options
author | Gregory Montoir | 2007-04-15 21:03:06 +0000 |
---|---|---|
committer | Gregory Montoir | 2007-04-15 21:03:06 +0000 |
commit | b048a557ab4a4e8e8e4f96a8de02845bf2d468af (patch) | |
tree | e209f8cdc5d5ec4e9e7bbf974d90d03880397525 | |
parent | c43960b958fc7a6e7c1bf83c75cc5033a049f952 (diff) | |
download | scummvm-rg350-b048a557ab4a4e8e8e4f96a8de02845bf2d468af.tar.gz scummvm-rg350-b048a557ab4a4e8e8e4f96a8de02845bf2d468af.tar.bz2 scummvm-rg350-b048a557ab4a4e8e8e4f96a8de02845bf2d468af.zip |
removed unnecessary casts
svn-id: r26519
-rw-r--r-- | engines/scumm/string.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/string.cpp b/engines/scumm/string.cpp index 90f227d0b3..6236403941 100644 --- a/engines/scumm/string.cpp +++ b/engines/scumm/string.cpp @@ -762,7 +762,7 @@ void ScummEngine_v8::CHARSET_1() { } } 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 @@ void ScummEngine_v8::CHARSET_1() { 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; |