1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-27 22:49:25 +02:00

Add reset to some static variables on client

This commit is contained in:
Arseniy Shestakov
2016-08-25 15:52:20 +03:00
parent f020fa06fd
commit a90b657b86
5 changed files with 16 additions and 0 deletions

View File

@@ -1869,6 +1869,11 @@ void CGGarrison::serializeJsonOptions(JsonSerializeFormat& handler)
CCreatureSet::serializeJson(handler, "army");
}
void CGMagi::reset()
{
eyelist.clear();
}
void CGMagi::initObj()
{
if (ID == Obj::EYE_OF_MAGI)