diff options
author | Chris Campbell <chriscampbell89@gmail.com> | 2013-12-09 12:41:17 +0000 |
---|---|---|
committer | Chris Campbell <chriscampbell89@gmail.com> | 2013-12-10 15:37:22 +0000 |
commit | 9ff65a6a82d6c134e5ba0459042672e51d0cf3b5 (patch) | |
tree | 28aea7cf8bd59c2c5dafe4d877586c8fc901444f /crawl-ref/source/spl-util.cc | |
parent | 8fe954617de510e6e1666c5bf5f024c737d2ca4c (diff) | |
download | crawl-ref-9ff65a6a82d6c134e5ba0459042672e51d0cf3b5.tar.gz crawl-ref-9ff65a6a82d6c134e5ba0459042672e51d0cf3b5.zip |
Fix spelling of "targeting" (#7837)
See Mantis for discussion.
Diffstat (limited to 'crawl-ref/source/spl-util.cc')
-rw-r--r-- | crawl-ref/source/spl-util.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crawl-ref/source/spl-util.cc b/crawl-ref/source/spl-util.cc index a8b206cb94..379f9e5c57 100644 --- a/crawl-ref/source/spl-util.cc +++ b/crawl-ref/source/spl-util.cc @@ -108,7 +108,7 @@ void init_spell_descs(void) ASSERTM(data.min_range <= data.max_range, "spell '%s' has min_range larger than max_range", data.title); - ASSERTM(!(data.flags & SPFLAG_TARGETTING_MASK) + ASSERTM(!(data.flags & SPFLAG_TARGETING_MASK) || (data.min_range >= 0 && data.max_range > 0), "targeted/directed spell '%s' has invalid range", data.title); @@ -414,7 +414,7 @@ bool spell_harms_target(spell_type spell) if (flags & (SPFLAG_HELPFUL | SPFLAG_NEUTRAL)) return false; - if (flags & SPFLAG_TARGETTING_MASK) + if (flags & SPFLAG_TARGETING_MASK) return true; return false; @@ -737,7 +737,7 @@ void apply_area_cloud(cloud_func func, const coord_def& where, // FIXME: this should accept a direction_chooser_args directly rather // than move the arguments into one. bool spell_direction(dist &spelld, bolt &pbolt, - targetting_type restrict, targ_mode_type mode, + targeting_type restrict, targ_mode_type mode, int range, bool needs_path, bool may_target_monster, bool may_target_self, const char *target_prefix, @@ -1306,7 +1306,7 @@ bool spell_no_hostile_in_range(spell_type spell) beam.beam_source = MHITYOU; beam.range = range; beam.is_tracer = true; - beam.is_targetting = true; + beam.is_targeting = true; beam.source = you.pos(); beam.dont_stop_player = true; beam.friend_info.dont_stop = true; |