mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Fix creature window not showing bonus description
This commit is contained in:
@@ -749,6 +749,7 @@ void CStackWindow::initBonusesList()
|
|||||||
for(Bonus* b : output)
|
for(Bonus* b : output)
|
||||||
{
|
{
|
||||||
bonusInfo.name = info->stackNode->bonusToString(b, false);
|
bonusInfo.name = info->stackNode->bonusToString(b, false);
|
||||||
|
bonusInfo.description = info->stackNode->bonusToString(b, true);
|
||||||
bonusInfo.imagePath = info->stackNode->bonusToGraphics(b);
|
bonusInfo.imagePath = info->stackNode->bonusToGraphics(b);
|
||||||
|
|
||||||
//if it's possible to give any description or image for this kind of bonus
|
//if it's possible to give any description or image for this kind of bonus
|
||||||
|
|||||||
Reference in New Issue
Block a user