1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-23 22:37:55 +02:00

hide bonus

This commit is contained in:
Laserlicht
2025-07-08 11:59:16 +02:00
committed by GitHub
parent 46072a1d60
commit cf32f00472
7 changed files with 17 additions and 2 deletions

View File

@@ -936,7 +936,7 @@ void CStackWindow::initBonusesList()
bonusInfo.bonusSource = b->source;
//if it's possible to give any description or image for this kind of bonus
if(!bonusInfo.description.empty())
if(!bonusInfo.description.empty() && !b->hidden)
activeBonuses.push_back(bonusInfo);
}
}