diff options
-rw-r--r-- | crawl-ref/source/wiz-fsim.cc | 2 | ||||
-rw-r--r-- | crawl-ref/source/wiz-fsim.h | 17 |
2 files changed, 10 insertions, 9 deletions
diff --git a/crawl-ref/source/wiz-fsim.cc b/crawl-ref/source/wiz-fsim.cc index b73c16dd75..e0b27a2e64 100644 --- a/crawl-ref/source/wiz-fsim.cc +++ b/crawl-ref/source/wiz-fsim.cc @@ -42,7 +42,7 @@ #ifdef WIZARD -fight_data null_fight = {0.0, 0, 0, 0.0, 0, 0.0}; +fight_data null_fight = {0.0, 0, 0, 0.0, 0, 0.0, 0.0}; typedef map<skill_type, int8_t> skill_map; typedef map<skill_type, int8_t>::iterator skill_map_iterator; diff --git a/crawl-ref/source/wiz-fsim.h b/crawl-ref/source/wiz-fsim.h index 1b52b82cde..a800d81338 100644 --- a/crawl-ref/source/wiz-fsim.h +++ b/crawl-ref/source/wiz-fsim.h @@ -6,14 +6,15 @@ #ifndef WIZFSIM_H #define WIZFSIM_H -struct fight_data { -double av_hit_dam; -int max_dam; -int accuracy; -double av_dam; -int av_time; -double av_speed; -double av_eff_dam; +struct fight_data +{ + double av_hit_dam; + int max_dam; + int accuracy; + double av_dam; + int av_time; + double av_speed; + double av_eff_dam; }; void wizard_quick_fsim(); |