diff options
author | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-30 12:36:46 +0000 |
---|---|---|
committer | haranp <haranp@c06c8d41-db1a-0410-9941-cceddc491573> | 2006-12-30 12:36:46 +0000 |
commit | 10210317e5e2c2f49992a374363753043e01e1f2 (patch) | |
tree | 045a01ed444a2db7102c43c940259dde3b5c5e79 /crawl-ref/source/effects.cc | |
parent | b3f493e9cb1b26dd74edad3ea6006863248e9e93 (diff) | |
download | crawl-ref-10210317e5e2c2f49992a374363753043e01e1f2.tar.gz crawl-ref-10210317e5e2c2f49992a374363753043e01e1f2.zip |
Made Abyss banishment noteworthy (somewhat hackish, uses USER_NOTE.)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@741 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/effects.cc')
-rw-r--r-- | crawl-ref/source/effects.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/effects.cc b/crawl-ref/source/effects.cc index 81c7edb13c..3123e073a8 100644 --- a/crawl-ref/source/effects.cc +++ b/crawl-ref/source/effects.cc @@ -30,6 +30,7 @@ #include "mon-util.h" #include "mutation.h" #include "newgame.h" +#include "notes.h" #include "ouch.h" #include "player.h" #include "randart.h" @@ -134,6 +135,9 @@ void banished(unsigned char gate_type) // 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 ) + take_note(Note(NOTE_USER_NOTE, 0, 0, "Cast into the Abyss"), true); + down_stairs(true, you.your_level, true); // heh heh untag_followers(); // safety } // end banished() |