2
0
Эх сурвалжийг харах

Move NO_TERRAIN_PENALTY to the end of list to avoid save breakage

ArseniyShestakov 10 жил өмнө
parent
commit
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 \