Browse Source

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

AlexVinS 8 years ago
parent
commit
d93ef36750
1 changed files with 0 additions and 1 deletions
  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));