diff options
author | Adam Borowski <kilobyte@angband.pl> | 2014-01-07 19:51:29 +0100 |
---|---|---|
committer | Adam Borowski <kilobyte@angband.pl> | 2014-01-07 19:51:55 +0100 |
commit | 8a16899ae09f1b79d340345897043da06091135f (patch) | |
tree | ef22fa1c630bd6dfcf633c45775c6d0a225b9272 /crawl-ref/source/jobs.cc | |
parent | 9e23fff017e6c2bb361abd1ba37b3da93021fa5c (diff) | |
download | crawl-ref-8a16899ae09f1b79d340345897043da06091135f.tar.gz crawl-ref-8a16899ae09f1b79d340345897043da06091135f.zip |
Fix job abbrevs and names getting out of sync on save bumps.
Also #ifdef out a sighting of Priests.
Diffstat (limited to 'crawl-ref/source/jobs.cc')
-rw-r--r-- | crawl-ref/source/jobs.cc | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/crawl-ref/source/jobs.cc b/crawl-ref/source/jobs.cc index d0ab07a515..c6a9ef3297 100644 --- a/crawl-ref/source/jobs.cc +++ b/crawl-ref/source/jobs.cc @@ -4,8 +4,11 @@ #include "libutil.h" -static const char * Job_Abbrev_List[ NUM_JOBS ] = - { "Fi", "Wz", "Pr", +static const char * Job_Abbrev_List[] = + { "Fi", "Wz", +#if TAG_MAJOR_VERSION == 34 + "Pr", +#endif "Gl", "Ne", "As", "Be", "Hu", "Cj", "En", "FE", "IE", "Su", "AE", "EE", "Sk", @@ -21,8 +24,11 @@ static const char * Job_Abbrev_List[ NUM_JOBS ] = #endif }; -static const char * Job_Name_List[ NUM_JOBS ] = - { "Fighter", "Wizard", "Priest", +static const char * Job_Name_List[] = + { "Fighter", "Wizard", +#if TAG_MAJOR_VERSION == 34 + "Priest", +#endif "Gladiator", "Necromancer", "Assassin", "Berserker", "Hunter", "Conjurer", "Enchanter", "Fire Elementalist", "Ice Elementalist", "Summoner", "Air Elementalist", |