mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-12 02:28:11 +02:00
Fix duplicate MR bonus display
This commit is contained in:
parent
68d1105233
commit
c43b218d64
@ -754,7 +754,7 @@ void CStackWindow::initBonusesList()
|
||||
|
||||
//if it's possible to give any description or image for this kind of bonus
|
||||
//TODO: figure out why half of bonuses don't have proper description
|
||||
if (!bonusInfo.name.empty() || !bonusInfo.imagePath.empty())
|
||||
if ((!bonusInfo.name.empty() || !bonusInfo.imagePath.empty())&& b->type != Bonus::MAGIC_RESISTANCE)
|
||||
activeBonuses.push_back(bonusInfo);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user