1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-28 08:48:48 +02:00

Fix creature window not showing bonus description

This commit is contained in:
AlexVinS 2014-11-15 20:22:50 +03:00
parent 4c5c83aa1f
commit 68d1105233

View File

@ -749,6 +749,7 @@ void CStackWindow::initBonusesList()
for(Bonus* b : output)
{
bonusInfo.name = info->stackNode->bonusToString(b, false);
bonusInfo.description = info->stackNode->bonusToString(b, true);
bonusInfo.imagePath = info->stackNode->bonusToGraphics(b);
//if it's possible to give any description or image for this kind of bonus