summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/externs.h
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-20 20:06:04 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-20 20:06:04 +0000
commit17c9dbde2c1c661099399df48d7754c2e267ae8f (patch)
tree1703dab71654af2af1d350421872b3382205fdf9 /crawl-ref/source/externs.h
parentf494038250893bc8db8794809a2157e97c824cf9 (diff)
downloadcrawl-ref-17c9dbde2c1c661099399df48d7754c2e267ae8f.tar.gz
crawl-ref-17c9dbde2c1c661099399df48d7754c2e267ae8f.zip
Properly save and restore the starting wand or rod for the Artificer
class. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8630 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/externs.h')
-rw-r--r--crawl-ref/source/externs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/externs.h b/crawl-ref/source/externs.h
index fedb5f40a9..f0195f1f04 100644
--- a/crawl-ref/source/externs.h
+++ b/crawl-ref/source/externs.h
@@ -1983,6 +1983,7 @@ public:
// selection screen
int weapon; // auto-choose weapon for character
int book; // auto-choose book for character
+ int wand; // auto-choose wand for character
int chaos_knight; // choice of god for Chaos Knights (Xom/Makleb)
int death_knight; // choice of god/necromancy for Death Knights
god_type priest; // choice of god for priests (Zin/Yred)
@@ -2223,6 +2224,7 @@ public:
god_type prev_pr;
int prev_weapon;
int prev_book;
+ int prev_wand;
bool prev_randpick;
///////////////////////////////////////////////////////////////////////