浏览代码

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 10 年之前
父节点
当前提交
46c7e8e36d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      lib/HeroBonus.h

+ 1 - 0
lib/HeroBonus.h

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