diff options
author | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2016-09-17 09:58:14 +0200 |
commit | 1e045ed09258e6c7fff63ef829759c6c8f06f441 (patch) | |
tree | 89a8737e5d33ccf2723a199efdf0aa8eb2d175e4 /src/xtra1.cc | |
parent | 86fba667d4aaf01b0efc47e26b8e482f13349038 (diff) |
Separate skill values from skill descriptions
Diffstat (limited to 'src/xtra1.cc')
-rw-r--r-- | src/xtra1.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xtra1.cc b/src/xtra1.cc index fbbd7922..c97d3663 100644 --- a/src/xtra1.cc +++ b/src/xtra1.cc @@ -2972,8 +2972,10 @@ void calc_bonuses(bool_ silent) /* Hide the skills that should auto hide */ for (i = 0; i < max_s_idx; i++) { - if (s_info[i].flags & SKF_AUTO_HIDE) + if (s_descriptors[i].flags & SKF_AUTO_HIDE) + { s_info[i].hidden = TRUE; + } } /* Base Luck */ |