1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-11-06 09:09:40 +02:00

fix regressions from modernization

This commit is contained in:
Ivan Savenko
2023-02-15 12:10:39 +02:00
parent 5d98471d12
commit f65c6ad275
6 changed files with 14 additions and 7 deletions

View File

@@ -82,6 +82,11 @@ void CCreGenLeveledCastleInfo::serializeJson(JsonSerializeFormat & handler)
CCreGenLeveledInfo::serializeJson(handler);
}
CGDwelling::CGDwelling()
: info(nullptr)
{
}
CGDwelling::~CGDwelling()
{
vstd::clear_pointer(info);