Explorar el Código

Fixed serialization due to changed lsit of bonuses

Ivan Savenko hace 3 años
padre
commit
0c78e47dce
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      lib/HeroBonus.h

+ 1 - 0
lib/HeroBonus.h

@@ -237,6 +237,7 @@ public:
 	BONUS_NAME(MANA_CHANNELING) /*value in %, eg. familiar*/ \
 	BONUS_NAME(SPELL_LIKE_ATTACK) /*subtype - spell, value - spell level; range is taken from spell, but damage from creature; eg. magog*/ \
 	BONUS_NAME(THREE_HEADED_ATTACK) /*eg. cerberus*/	\
+	BONUS_NAME(UNUSED_BONUS_ENTRY)						\
 	BONUS_NAME(FIRE_IMMUNITY)	/*subtype 0 - all, 1 - all except positive, 2 - only damage spells*/						\
 	BONUS_NAME(WATER_IMMUNITY)							\
 	BONUS_NAME(EARTH_IMMUNITY)							\