summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.h
diff options
context:
space:
mode:
authorPekka Lampila <pekka.lampila@iki.fi>2013-06-07 01:17:12 +0300
committerNeil Moore <neil@s-z.org>2013-06-06 19:33:32 -0400
commite0bb6f7075ee525a3d28584a897f08090cac4a77 (patch)
treef2b624031a436eace87cd3782c78040c2dae7cce /crawl-ref/source/skills2.h
parentd28d70e7ab6c23aa07cbc7a57fa446b8c1a881d2 (diff)
downloadcrawl-ref-e0bb6f7075ee525a3d28584a897f08090cac4a77.tar.gz
crawl-ref-e0bb6f7075ee525a3d28584a897f08090cac4a77.zip
Always study all manuals in the inventory
Multiple manuals for different skills can be used at once. If there are multiple manuals for the same skill, the one with least charges is used up first.
Diffstat (limited to 'crawl-ref/source/skills2.h')
-rw-r--r--crawl-ref/source/skills2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h
index c8ddb2a56a..ddb0c9df0e 100644
--- a/crawl-ref/source/skills2.h
+++ b/crawl-ref/source/skills2.h
@@ -26,7 +26,7 @@ struct skill_state
unsigned int total_experience;
bool auto_training;
int exp_available;
- int manual_charges;
+ vector<int> manual_charges;
void save();
void restore_levels();