mirror of
https://github.com/vcmi/vcmi.git
synced 2025-07-05 00:49:09 +02:00
Remove save compatibility with 1.5.X
This commit is contained in:
@ -108,16 +108,7 @@ public:
|
||||
template <typename Handler> void serialize(Handler &h)
|
||||
{
|
||||
h & static_cast<ILimiter&>(*this);
|
||||
|
||||
if (h.version < Handler::Version::REMOVE_TOWN_PTR)
|
||||
{
|
||||
bool isNull = false;
|
||||
h & isNull;
|
||||
if(!isNull)
|
||||
h & creatureID;
|
||||
}
|
||||
else
|
||||
h & creatureID;
|
||||
h & creatureID;
|
||||
h & includeUpgrades;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user