diff options
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r-- | crawl-ref/source/effects.cc | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 3123e073a8..ea4230b60a 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -128,17 +128,14 @@ void torment(int caster, int tx, int ty) apply_area_within_radius(torment_monsters, tx, ty, 0, 8, caster); } // end torment() -void banished(unsigned char gate_type) +void banished(int gate_type) { - you_teleport2( false ); - - // this is to ensure that you're standing on a suitable space (67) - grd[you.x_pos][you.y_pos] = gate_type; - - if ( gate_type == DNGN_ENTER_ABYSS ) + if (gate_type == DNGN_ENTER_ABYSS) + { take_note(Note(NOTE_USER_NOTE, 0, 0, "Cast into the Abyss"), true); + } - down_stairs(true, you.your_level, true); // heh heh + down_stairs(true, you.your_level, gate_type); // heh heh untag_followers(); // safety } // end banished() |