mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Fixed doubled descriptions in creature window.
This commit is contained in:
@@ -712,7 +712,7 @@ void CBonusItem::showAll (SDL_Surface * to)
|
|||||||
if (visible)
|
if (visible)
|
||||||
{
|
{
|
||||||
graphics->fonts[FONT_SMALL]->renderTextLeft(to, name, Colors::YELLOW, Point(pos.x + 72, pos.y + 6));
|
graphics->fonts[FONT_SMALL]->renderTextLeft(to, name, Colors::YELLOW, Point(pos.x + 72, pos.y + 6));
|
||||||
graphics->fonts[FONT_SMALL]->renderTextLeft(to, name, Colors::WHITE, Point(pos.x + 72, pos.y + 30));
|
graphics->fonts[FONT_SMALL]->renderTextLeft(to, description, Colors::WHITE, Point(pos.x + 72, pos.y + 30));
|
||||||
if (bonusGraphics && bonusGraphics->bg)
|
if (bonusGraphics && bonusGraphics->bg)
|
||||||
blitAtLoc(bonusGraphics->bg, 12, 2, to);
|
blitAtLoc(bonusGraphics->bg, 12, 2, to);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user