Explorar o código

Add list ending comment as suggested by @alexvins

This way we can add new bonuses without changing last line in list and avoid possible issues of extra concatenating.
ArseniyShestakov %!s(int64=10) %!d(string=hai) anos
pai
achega
46c7e8e36d
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      lib/HeroBonus.h

+ 1 - 0
lib/HeroBonus.h

@@ -218,6 +218,7 @@ public:
 	BONUS_NAME(DISGUISED) /* subtype - spell level */\
 	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 */\
 	BONUS_NAME(NO_TERRAIN_PENALTY) /* subtype - terrain type */\
+	/* end of list */
 	
 	
 
 
 #define BONUS_SOURCE_LIST \
 #define BONUS_SOURCE_LIST \