removed unnecessary casts

svn-id: r26519
This commit is contained in:
Gregory Montoir 2007-04-15 21:03:06 +00:00
parent c43960b958
commit b048a557ab

View File

@ -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;