diff options
author | Steve Melenchuk <smelenchuk@gmail.com> | 2012-07-12 08:07:54 -0600 |
---|---|---|
committer | Steve Melenchuk <smelenchuk@gmail.com> | 2012-07-12 08:07:54 -0600 |
commit | 5362db65fb539fd6502bbf6ff98504ab89cb6804 (patch) | |
tree | c0e0f04fe512438244d69dd648f4696de6caa2e1 /crawl-ref/source/skills.cc | |
parent | f2adc98f1a78412291467f36e692f571171c1491 (diff) | |
download | crawl-ref-5362db65fb539fd6502bbf6ff98504ab89cb6804.tar.gz crawl-ref-5362db65fb539fd6502bbf6ff98504ab89cb6804.zip |
Update trainable skill list before untrainable skill list.
The previous opposite order was confusing the skills screen on a
cursed or distortion item wield (0005920).
Diffstat (limited to 'crawl-ref/source/skills.cc')
-rw-r--r-- | crawl-ref/source/skills.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/crawl-ref/source/skills.cc b/crawl-ref/source/skills.cc index 8ec384a1b0..f9cca5bbcd 100644 --- a/crawl-ref/source/skills.cc +++ b/crawl-ref/source/skills.cc @@ -424,11 +424,11 @@ static void _check_stop_train() void update_can_train() { - if (!you.stop_train.empty()) - _check_stop_train(); - if (!you.start_train.empty()) _check_start_train(); + + if (!you.stop_train.empty()) + _check_stop_train(); } bool training_restricted(skill_type sk) |