diff options
author | Tom Kaitchuck <Tom.Kaitchuck@gmail.com> | 2020-01-31 16:32:01 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2020-02-02 13:00:22 +0100 |
commit | 24e0c965d8535fe83c193e5526e5753fec43ef82 (patch) | |
tree | 526f38fe37506bad208fe5f53b141f20baa17799 /src/object_filter.cc | |
parent | 7829a67b588da07c000cbe789bb3ed0e332acc67 (diff) |
Prevent PVAL<0 from causing item-based spells being uncastable
If there is an item with a negative PVAL that can cast spells, for
example a deamonhorn, the spells were always unavailable even when
they should be unlocked. This was due to a check meant to apply to
music spells being applied.
Diffstat (limited to 'src/object_filter.cc')
0 files changed, 0 insertions, 0 deletions