浏览代码

Fix duplicate MR bonus display

AlexVinS 11 年之前
父节点
当前提交
c43b218d64
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      client/windows/CCreatureWindow.cpp

+ 1 - 1
client/windows/CCreatureWindow.cpp

@@ -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);
 	}