diff --git a/lib/mapObjects/CGHeroInstance.h b/lib/mapObjects/CGHeroInstance.h index d49235b8c..66dfd1523 100644 --- a/lib/mapObjects/CGHeroInstance.h +++ b/lib/mapObjects/CGHeroInstance.h @@ -102,20 +102,6 @@ public: } } patrol; - // deprecated - used only for loading of old saves - struct HeroSpecial : CBonusSystemNode - { - bool growsWithLevel; - - HeroSpecial(){growsWithLevel = false;}; - - template void serialize(Handler &h, const int version) - { - h & static_cast(*this); - h & growsWithLevel; - } - }; - struct DLL_LINKAGE SecondarySkillsInfo { //skills are determined, initialized at map start diff --git a/lib/registerTypes/RegisterTypes.h b/lib/registerTypes/RegisterTypes.h index 4eca3fe0c..2add5fc3f 100644 --- a/lib/registerTypes/RegisterTypes.h +++ b/lib/registerTypes/RegisterTypes.h @@ -194,7 +194,6 @@ void registerTypesMapObjects2(Serializer &s) s.template registerType(); s.template registerType(); //s.template registerType(); //TODO - s.template registerType(); //s.template registerType(); s.template registerType(); s.template registerType();