mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
Remove save compatibility with 1.5.X
This commit is contained in:
@@ -351,15 +351,6 @@ void CGameState::initCampaign()
|
||||
map = campaign->getCurrentMap();
|
||||
}
|
||||
|
||||
void CGameState::generateOwnedObjectsAfterDeserialize()
|
||||
{
|
||||
for (auto & object : map->objects)
|
||||
{
|
||||
if (object && object->asOwnable() && object->getOwner().isValidPlayer())
|
||||
players.at(object->getOwner()).addOwnedObject(object.get());
|
||||
}
|
||||
}
|
||||
|
||||
void CGameState::initGlobalBonuses()
|
||||
{
|
||||
const JsonNode & baseBonuses = getSettings().getValue(EGameSettings::BONUSES_GLOBAL);
|
||||
|
||||
Reference in New Issue
Block a user