diff options
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r-- | crawl-ref/source/spl-util.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc index df0e76626e..ef780a4f88 100644 --- a/crawl-ref/source/spl-util.cc +++ b/crawl-ref/source/spl-util.cc @@ -409,12 +409,12 @@ int spell_levels_required( spell_type which_spell ) int levels = spell_difficulty( which_spell ); if (which_spell == SPELL_DELAYED_FIREBALL - && player_has_spell( SPELL_FIREBALL )) + && you.has_spell(SPELL_FIREBALL)) { levels -= spell_difficulty( SPELL_FIREBALL ); } else if (which_spell == SPELL_FIREBALL - && player_has_spell( SPELL_DELAYED_FIREBALL )) + && you.has_spell(SPELL_DELAYED_FIREBALL)) { levels = 0; } |