Browse Source

Compile fix

Tomasz Zieliński 1 năm trước cách đây
mục cha
commit
c7149103ce
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      lib/mapObjects/ObstacleSetHandler.cpp

+ 0 - 2
lib/mapObjects/ObstacleSetHandler.cpp

@@ -203,8 +203,6 @@ void ObstacleSetHandler::loadObject(std::string scope, std::string name, const J
 
 void ObstacleSetHandler::loadObject(std::string scope, std::string name, const JsonNode & data, size_t index)
 {
-	assert(objects.at(index) == nullptr); // ensure that this id was not loaded before
-
 	auto os = loadFromJson(scope, data, name, index);
 	if(os)
 	{