summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/newgame_def.h
diff options
context:
space:
mode:
authorRobert Vollmert <rvollmert@gmx.net>2010-04-26 14:39:55 +0200
committerRobert Vollmert <rvollmert@gmx.net>2010-04-26 16:24:05 +0200
commit15a02dbf35ca840741fd3129bb00b2468ea6c3a7 (patch)
treed477c041a41dae5b973aa306b969a819ee05b710 /crawl-ref/source/newgame_def.h
parent0a212d52c8cdf4e527e4bd3e049998eb137c85b3 (diff)
downloadcrawl-ref-15a02dbf35ca840741fd3129bb00b2468ea6c3a7.tar.gz
crawl-ref-15a02dbf35ca840741fd3129bb00b2468ea6c3a7.zip
Clean up newgame.cc:_choose_wand.
Diffstat (limited to 'crawl-ref/source/newgame_def.h')
-rw-r--r--crawl-ref/source/newgame_def.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/crawl-ref/source/newgame_def.h b/crawl-ref/source/newgame_def.h
index 511a7b45f2..4965bbaff5 100644
--- a/crawl-ref/source/newgame_def.h
+++ b/crawl-ref/source/newgame_def.h
@@ -15,13 +15,15 @@ enum startup_book_type
enum startup_wand_type
{
- SWT_NO_SELECTION = 0,
SWT_ENSLAVEMENT,
SWT_CONFUSION,
SWT_MAGIC_DARTS,
SWT_FROST,
SWT_FLAME,
SWT_STRIKING, // actually a rod
+ NUM_STARTUP_WANDS,
+
+ SWT_NO_SELECTION = NUM_STARTUP_WANDS,
SWT_RANDOM
};