diff options
author | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:56 +0100 |
---|---|---|
committer | Bardur Arantsson <bardur@scientician.net> | 2015-02-23 09:11:56 +0100 |
commit | 9688ede57bcd87f51d94a2888f86da9fea37263a (patch) | |
tree | 1336358486f4bdd9cc5b49a860169397fc4b1c7a /src/spells4.cc | |
parent | 46a9d6e37cf61e03ab9c0fd03ebf04aca6a965d2 (diff) |
Remove now-unused object parameter from spellcasting functions
Diffstat (limited to 'src/spells4.cc')
-rw-r--r-- | src/spells4.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/spells4.cc b/src/spells4.cc index cd3946c1..f3ffbfe7 100644 --- a/src/spells4.cc +++ b/src/spells4.cc @@ -543,7 +543,7 @@ void lua_cast_school_spell(s32b s, bool_ no_cost) /* Invoke the spell effect */ if (!magik(spell_chance_book(s))) { - use = (spell_type_produce_effect(spell, -1) != NO_CAST); + use = (spell_type_produce_effect(spell) != NO_CAST); } else { @@ -561,7 +561,7 @@ void lua_cast_school_spell(s32b s, bool_ no_cost) } else { - spell_type_produce_effect(spell, -1); + spell_type_produce_effect(spell); } /* Use the mana/piety */ |