From 25da9f249e57fb3b1a00b9138924dcf0d51cb6fb Mon Sep 17 00:00:00 2001 From: ArseniyShestakov Date: Thu, 15 Oct 2015 11:44:59 +0300 Subject: [PATCH] Move NO_TERRAIN_PENALTY to the end of list to avoid save breakage --- lib/HeroBonus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/HeroBonus.h b/lib/HeroBonus.h index 1603c2966..d410d6f44 100644 --- a/lib/HeroBonus.h +++ b/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 \