Explorar o código

Move NO_TERRAIN_PENALTY to the end of list to avoid save breakage

ArseniyShestakov %!s(int64=10) %!d(string=hai) anos
pai
achega
25da9f249e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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 \