mirror of
https://github.com/vcmi/vcmi.git
synced 2025-02-17 13:41:07 +02:00
Compile fix
This commit is contained in:
parent
d9a598ad9c
commit
c7149103ce
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user