mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
hide bonus
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user