|
|
@@ -5,7 +5,7 @@
|
|
|
#include "../VCMI_Lib.h"
|
|
|
#include "../CArtHandler.h"
|
|
|
#include "../CObjectHandler.h"
|
|
|
-#include "../CObjectWithReward.h"
|
|
|
+#include "../CObjectWithReward.h"
|
|
|
#include "../CGameState.h"
|
|
|
#include "../CHeroHandler.h"
|
|
|
#include "../CTownHandler.h"
|
|
|
@@ -80,12 +80,12 @@ void registerTypesMapObjects2(Serializer &s)
|
|
|
s.template registerType<CGTownBuilding, CTownBonus>();
|
|
|
s.template registerType<CGTownBuilding, COPWBonus>();
|
|
|
|
|
|
- s.template registerType<CGObjectInstance, CObjectWithReward>();
|
|
|
- s.template registerType<CObjectWithReward, CGPickable>();
|
|
|
- s.template registerType<CObjectWithReward, CGVisitableOPH>();
|
|
|
- s.template registerType<CObjectWithReward, CGVisitableOPW>();
|
|
|
- s.template registerType<CObjectWithReward, CGOnceVisitable>();
|
|
|
- s.template registerType<CGVisitableOPW, CGMagicSpring>();
|
|
|
+ s.template registerType<CGObjectInstance, CObjectWithReward>();
|
|
|
+ s.template registerType<CObjectWithReward, CGPickable>();
|
|
|
+ s.template registerType<CObjectWithReward, CGVisitableOPH>();
|
|
|
+ s.template registerType<CObjectWithReward, CGVisitableOPW>();
|
|
|
+ s.template registerType<CObjectWithReward, CGOnceVisitable>();
|
|
|
+ s.template registerType<CGVisitableOPW, CGMagicSpring>();
|
|
|
|
|
|
s.template registerType<CGObjectInstance, CPlayersVisited>();
|
|
|
s.template registerType<CPlayersVisited, CGWitchHut>();
|
|
|
@@ -188,6 +188,7 @@ void registerTypesClientPacks1(Serializer &s)
|
|
|
s.template registerType<CPackForClient, CenterView>();
|
|
|
s.template registerType<CPackForClient, HeroVisit>();
|
|
|
s.template registerType<CPackForClient, SetCommanderProperty>();
|
|
|
+ s.template registerType<CPackForClient, ChangeObjectVisitors>();
|
|
|
}
|
|
|
|
|
|
template<typename Serializer>
|