mirror of
https://github.com/vcmi/vcmi.git
synced 2025-04-23 12:08:45 +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)
|
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);
|
auto os = loadFromJson(scope, data, name, index);
|
||||||
if(os)
|
if(os)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user