1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-02-17 13:41:07 +02:00

Compile fix

This commit is contained in:
Tomasz Zieliński 2024-04-08 15:24:52 +02:00
parent d9a598ad9c
commit c7149103ce

View File

@ -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)
{