summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/abl-show.cc
diff options
context:
space:
mode:
authorharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-30 12:36:46 +0000
committerharanp <haranp@c06c8d41-db1a-0410-9941-cceddc491573>2006-12-30 12:36:46 +0000
commit10210317e5e2c2f49992a374363753043e01e1f2 (patch)
tree045a01ed444a2db7102c43c940259dde3b5c5e79 /crawl-ref/source/abl-show.cc
parentb3f493e9cb1b26dd74edad3ea6006863248e9e93 (diff)
downloadcrawl-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/abl-show.cc')
-rw-r--r--crawl-ref/source/abl-show.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/crawl-ref/source/abl-show.cc b/crawl-ref/source/abl-show.cc
index 25014497b9..95821ef64d 100644
--- a/crawl-ref/source/abl-show.cc
+++ b/crawl-ref/source/abl-show.cc
@@ -42,6 +42,7 @@
#include "message.h"
#include "misc.h"
#include "monplace.h"
+#include "notes.h"
#include "player.h"
#include "religion.h"
#include "skills.h"
@@ -1221,7 +1222,10 @@ bool activate_ability(void)
mpr("That doesn't work from Pandemonium.");
return false;
}
+
+ activate_notes(false); // this banishment shouldn't be noted
banished(DNGN_ENTER_ABYSS);
+ activate_notes(true);
break;
//jmf: intended as invocations from evil god(s):