瀏覽代碼

Move NO_TERRAIN_PENALTY to the end of list to avoid save breakage

ArseniyShestakov 10 年之前
父節點
當前提交
25da9f249e
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/HeroBonus.h

+ 2 - 2
lib/HeroBonus.h

@@ -215,9 +215,9 @@ public:
 	BONUS_NAME(ADDITIONAL_UNITS) /*val of units with id = subtype will be added to hero's army at the beginning of battle */\
 	BONUS_NAME(SPOILS_OF_WAR) /*val * 10^-6 * gained exp resources of subtype will be given to hero after battle*/\
 	BONUS_NAME(BLOCK)\
-	BONUS_NAME(NO_TERRAIN_PENALTY) /* subtype - terrain type */\
 	BONUS_NAME(DISGUISED) /* subtype - spell level */\
-	BONUS_NAME(VISIONS) /* subtype - spell level */
+	BONUS_NAME(VISIONS) /* subtype - spell level */\
+	BONUS_NAME(NO_TERRAIN_PENALTY) /* subtype - terrain type */\
 	
 
 #define BONUS_SOURCE_LIST \