summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/skills2.h
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2011-09-22 21:03:09 +0200
committerAdam Borowski <kilobyte@angband.pl>2011-09-22 21:03:09 +0200
commit11ebe60c7fcd66260c5cdd004924ad203ce3b005 (patch)
tree0a49c4847d031e80556ffc21d910edf8553a2345 /crawl-ref/source/skills2.h
parent0ac8e2a4ac1ce300012599ed7cea2017eb9d348d (diff)
downloadcrawl-ref-11ebe60c7fcd66260c5cdd004924ad203ce3b005.tar.gz
crawl-ref-11ebe60c7fcd66260c5cdd004924ad203ce3b005.zip
Let the saved skill state store skills * 10 (up to 270).
There's no need to skimp on a few tens of bytes in a single short-lived structure.
Diffstat (limited to 'crawl-ref/source/skills2.h')
-rw-r--r--crawl-ref/source/skills2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/skills2.h b/crawl-ref/source/skills2.h
index dbf640db5d..25ab6924bc 100644
--- a/crawl-ref/source/skills2.h
+++ b/crawl-ref/source/skills2.h
@@ -15,8 +15,8 @@ const int MAX_SKILL_ORDER = 100;
struct skill_state
{
FixedVector<uint8_t, NUM_SKILLS> skills;
- FixedVector<uint8_t, NUM_SKILLS> real_skills; // Those two are
- FixedVector<uint8_t, NUM_SKILLS> changed_skills; // scaled by 10.
+ FixedVector<int, NUM_SKILLS> real_skills; // Those two are
+ FixedVector<int, NUM_SKILLS> changed_skills; // scaled by 10.
FixedVector<int8_t, NUM_SKILLS> train;
FixedVector<unsigned int, NUM_SKILLS> training;
FixedVector<unsigned int, NUM_SKILLS> skill_points;