mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-23 19:16:21 +00:00
LAB: Get rid of a superfluous variable
This commit is contained in:
parent
1206fe22b8
commit
05973b9b41
@ -95,17 +95,15 @@ void Intro::doPictText(const Common::String filename, bool isScreen) {
|
||||
else if (isScreen)
|
||||
_vm->_graphics->fade(false);
|
||||
|
||||
int charDrawn = 0;
|
||||
if (isScreen) {
|
||||
_vm->_graphics->setPen(7);
|
||||
_vm->_graphics->rectFillScaled(10, 10, 310, 190);
|
||||
|
||||
charDrawn = _vm->_graphics->flowText(_font, _vm->_isHiRes ? 0 : -1, 5, 7, false, false, true, true, _vm->_utils->vgaRectScale(14, 11, 306, 189), (char *)curText);
|
||||
curText += _vm->_graphics->flowText(_font, _vm->_isHiRes ? 0 : -1, 5, 7, false, false, true, true, _vm->_utils->vgaRectScale(14, 11, 306, 189), (char *)curText);
|
||||
_vm->_graphics->fade(true);
|
||||
} else
|
||||
charDrawn = _vm->_graphics->longDrawMessage(Common::String((char *)curText), false);
|
||||
curText += _vm->_graphics->longDrawMessage(Common::String((char *)curText), false);
|
||||
|
||||
curText += charDrawn;
|
||||
doneFl = (*curText == 0);
|
||||
|
||||
drawNextText = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user