From 42c04eb9ff6b36614de58eb3017735071f710ce2 Mon Sep 17 00:00:00 2001 From: David Lawrence Ramsey Date: Thu, 24 Sep 2009 09:50:51 -0500 Subject: Add more spelling fixes. --- crawl-ref/source/spl-cast.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'crawl-ref/source/spl-cast.cc') diff --git a/crawl-ref/source/spl-cast.cc b/crawl-ref/source/spl-cast.cc index dfe3135ca8..f436f3c059 100644 --- a/crawl-ref/source/spl-cast.cc +++ b/crawl-ref/source/spl-cast.cc @@ -1168,11 +1168,11 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) int potion = -1; - // XXX: This handles only some of the cases where spells need targeting... + // XXX: This handles only some of the cases where spells need targetting... // there are others that do their own that will be missed by this // (and thus will not properly ESC without cost because of it). // Hopefully, those will eventually be fixed. -- bwr - if ((flags & SPFLAG_TARGETING_MASK) && spell != SPELL_PORTAL_PROJECTILE) + if ((flags & SPFLAG_TARGETTING_MASK) && spell != SPELL_PORTAL_PROJECTILE) { targ_mode_type targ = (testbits(flags, SPFLAG_HELPFUL) ? TARG_FRIEND : TARG_ENEMY); @@ -1180,7 +1180,7 @@ spret_type your_spells(spell_type spell, int powc, bool allow_fail) if (testbits(flags, SPFLAG_NEUTRAL)) targ = TARG_ANY; - targeting_type dir = + targetting_type dir = ( (spell == SPELL_APPORTATION) ? DIR_TARGET_OBJECT : testbits(flags, SPFLAG_TARGET) ? DIR_TARGET : testbits(flags, SPFLAG_GRID) ? DIR_TARGET : -- cgit v1.2.3-54-g00ecf