diff options
author | Strangerke | 2015-12-24 01:44:22 +0100 |
---|---|---|
committer | Strangerke | 2015-12-24 01:44:22 +0100 |
commit | 887add323b641c5f95c873a176645a5783d764cd (patch) | |
tree | bd63fd691e02fdca5afe98e522092a5a060c4880 /engines/lab/intro.cpp | |
parent | aa104040d47bc280cccb8befd1f7b2bad82b8634 (diff) | |
download | scummvm-rg350-887add323b641c5f95c873a176645a5783d764cd.tar.gz scummvm-rg350-887add323b641c5f95c873a176645a5783d764cd.tar.bz2 scummvm-rg350-887add323b641c5f95c873a176645a5783d764cd.zip |
LAB: Fix unsafe use of boolean
Diffstat (limited to 'engines/lab/intro.cpp')
-rw-r--r-- | engines/lab/intro.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/lab/intro.cpp b/engines/lab/intro.cpp index 9c047ca0fb..b73de25b8b 100644 --- a/engines/lab/intro.cpp +++ b/engines/lab/intro.cpp @@ -96,7 +96,7 @@ void Intro::doPictText(const Common::String filename, bool isScreen) { _vm->_graphics->setPen(7); _vm->_graphics->rectFillScaled(10, 10, 310, 190); - charDrawn = _vm->_graphics->flowText(_font, (!_vm->_isHiRes) * -1, 5, 7, false, false, true, true, _vm->_utils->vgaRectScale(14, 11, 306, 189), (char *)curText); + charDrawn = _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); |