STARK: Fix linker issue under mingw.

This commit is contained in:
Kirben 2016-01-07 11:11:39 +11:00
parent 685f5308ca
commit 4b604e2d2e

View file

@ -145,9 +145,13 @@ void DialogPanel::onRender() {
void DialogPanel::updateSubtitleVisual() {
delete _subtitleVisual;
uint32 color = _otherColor;
if (_currentSpeech->characterIsApril())
color = _aprilColor;
_subtitleVisual = new VisualText(_gfx);
_subtitleVisual->setText(_currentSpeech->getPhrase());
_subtitleVisual->setColor(_currentSpeech->characterIsApril() ? _aprilColor : _otherColor);
_subtitleVisual->setColor(color);
_subtitleVisual->setFont(FontProvider::kBigFont);
_subtitleVisual->setTargetWidth(600);
}