浏览代码

Fixed serialization due to changed lsit of bonuses

Ivan Savenko 3 年之前
父节点
当前提交
0c78e47dce
共有 1 个文件被更改,包括 1 次插入0 次删除
  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)							\