1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-12-12 10:03:53 +02:00

Fix "padding variables" for object deletion

This commit is contained in:
Dydzio 2024-12-03 17:40:35 +01:00
parent e9be46af98
commit f7b0c7405b

View File

@ -45,8 +45,7 @@ public:
std::vector<ObjectInstanceID> deletedObjectsInstances;
std::vector<int3> unused;
std::set<const CGObjectInstance*> unused2;
std::vector<ObjectInstanceID> unused;
template <typename Handler>
void serialize(Handler & h)
@ -77,7 +76,6 @@ public:
else
{
h & unused;
h & unused2;
}
}