Show actual powerup number instead of + in mobile stk

This commit is contained in:
Benau 2020-07-17 21:10:37 +08:00
parent ca42d0826e
commit 846b77541f

View File

@ -548,9 +548,11 @@ void RaceGUIMultitouch::draw(const AbstractKart* kart,
(int)(button->x + button->width/2),
(int)(button->y + button->height/2));
font->setScale(UserConfigParams::m_multitouch_scale);
font->draw(core::stringw(L"+"), pos,
font->setBlackBorder(true);
font->draw(core::stringw(kart->getPowerup()->getNum()), pos,
video::SColor(255, 255, 255, 255));
font->setScale(1.0f);
font->setBlackBorder(false);
}
}
}