summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.h
diff options
context:
space:
mode:
authorPekka Lampila <pekka.lampila@iki.fi>2013-06-07 03:35:20 +0300
committerNeil Moore <neil@s-z.org>2013-06-06 21:09:11 -0400
commit48b0c405dfe41cfa4ab8927080bd8bc77e518154 (patch)
treec02a199ddc2405de51e18a1eeb0ed5cdcd8eeb62 /crawl-ref/source/skills2.h
parent0f56f737304c90b0d8921a092d48e3ccf3771aa1 (diff)
downloadcrawl-ref-48b0c405dfe41cfa4ab8927080bd8bc77e518154.tar.gz
crawl-ref-48b0c405dfe41cfa4ab8927080bd8bc77e518154.zip
Allow potions/cards of exp train restricted skills
Diffstat (limited to 'crawl-ref/source/skills2.h')
-rw-r--r--crawl-ref/source/skills2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h
index ddb0c9df0e..ec00f9607d 100644
--- a/crawl-ref/source/skills2.h
+++ b/crawl-ref/source/skills2.h
@@ -14,6 +14,7 @@ const int MAX_SKILL_ORDER = 100;
struct skill_state
{
+ FixedBitVector<NUM_SKILLS> can_train;
FixedVector<uint8_t, NUM_SKILLS> skills;
FixedVector<int, NUM_SKILLS> real_skills; // Those two are
FixedVector<int, NUM_SKILLS> changed_skills; // scaled by 10.