浏览代码

Fixed https://bugs.vcmi.eu/view.php?id=2818

AlexVinS 8 年之前
父节点
当前提交
d93ef36750
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      lib/mapObjects/MiscObjects.cpp

+ 0 - 1
lib/mapObjects/MiscObjects.cpp

@@ -2121,7 +2121,6 @@ void CGObelisk::setPropertyDer( ui8 what, ui32 val )
 	{
 		case CGObelisk::OBJPROP_INC:
 			{
-				assert(val < PlayerColor::PLAYER_LIMIT_I);
 				auto progress = ++visited[TeamID(val)];
 				logGlobal->debug("Player %d: obelisk progress %d / %d", val, static_cast<int>(progress) , static_cast<int>(obeliskCount));