mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-08 00:39:47 +02:00
Merge pull request #3119 from Nordsoft91/rmg-fix
Fix crash caused by duplicated delete
This commit is contained in:
commit
2bf599bbee
@ -447,7 +447,6 @@ bool ObjectManager::createRequiredObjects()
|
|||||||
instance->object().getObjectName(), instance->getPosition(true).toString());
|
instance->object().getObjectName(), instance->getPosition(true).toString());
|
||||||
mapProxy->removeObject(&instance->object());
|
mapProxy->removeObject(&instance->object());
|
||||||
}
|
}
|
||||||
rmgNearObject.clear();
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user