diff options
author | reaverb <reaverb.Crawl@gmail.com> | 2014-05-13 14:19:11 -0400 |
---|---|---|
committer | reaverb <reaverb.Crawl@gmail.com> | 2014-05-13 21:08:36 -0400 |
commit | 12223c06ef9274e1b90c86d4c6a8ebd9f813c66a (patch) | |
tree | ac71d6e58668844f1ce17905d76901f19e640ce3 /crawl-ref/source/mon-act.cc | |
parent | 8e1b8955197c90e724290fb66c5842639f659b8f (diff) | |
download | crawl-ref-12223c06ef9274e1b90c86d4c6a8ebd9f813c66a.tar.gz crawl-ref-12223c06ef9274e1b90c86d4c6a8ebd9f813c66a.zip |
Remove Shedu
They never really worked as enemies - their only unique aspect, partner
resurrection, was just annoying.
Diffstat (limited to 'crawl-ref/source/mon-act.cc')
-rw-r--r-- | crawl-ref/source/mon-act.cc | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/crawl-ref/source/mon-act.cc b/crawl-ref/source/mon-act.cc index 55aedc6f37..c1acf8c09b 100644 --- a/crawl-ref/source/mon-act.cc +++ b/crawl-ref/source/mon-act.cc @@ -72,7 +72,6 @@ static bool _is_trap_safe(const monster* mons, const coord_def& where, bool just_check = false); static bool _monster_move(monster* mons); static spell_type _map_wand_to_mspell(wand_type kind); -static void _shedu_movement_clamp(monster* mons); // [dshaligram] Doesn't need to be extern. static coord_def mmov; @@ -2179,7 +2178,6 @@ void handle_monster_move(monster* mons) { // Calculates mmov based on monster target. _handle_movement(mons); - _shedu_movement_clamp(mons); if (mons_is_confused(mons) || mons->type == MONS_AIR_ELEMENTAL @@ -4194,17 +4192,3 @@ static spell_type _map_wand_to_mspell(wand_type kind) default: return SPELL_NO_SPELL; } } - -// Keep kraken tentacles from wandering too far away from the boss monster. -static void _shedu_movement_clamp(monster *shedu) -{ - if (!mons_is_shedu(shedu)) - return; - - monster *my_pair = get_shedu_pair(shedu); - if (!my_pair) - return; - - if (grid_distance(shedu->pos(), my_pair->pos()) >= 10) - mmov = (my_pair->pos() - shedu->pos()).sgn(); -} |