summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/xom.cc
diff options
context:
space:
mode:
authorj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-17 12:35:36 +0000
committerj-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573>2008-04-17 12:35:36 +0000
commit7a0cf4fa055dbebc676db78dde82881be8a6e6af (patch)
tree27b003fb1ae2982e2886f1a31975ab7a3be749cf /crawl-ref/source/xom.cc
parentab86f8464ed1b3f73f2e19e01a63089777d91c23 (diff)
downloadcrawl-ref-7a0cf4fa055dbebc676db78dde82881be8a6e6af.tar.gz
crawl-ref-7a0cf4fa055dbebc676db78dde82881be8a6e6af.zip
Fix 1931767: sort_menus not working for pickup menu
FR 1943597: Auto-inscribe god gifts with {god gift} including Xom gifts. These inscriptions do not (yet?) get cleared when the item is identified. Also, if it's not yet possible, menu_colour should work for the pickup menu, and init.txt should include a line colouring "god gift". git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@4286 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/xom.cc')
-rw-r--r--crawl-ref/source/xom.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/crawl-ref/source/xom.cc b/crawl-ref/source/xom.cc
index fc7cb320c8..91ee3abbd9 100644
--- a/crawl-ref/source/xom.cc
+++ b/crawl-ref/source/xom.cc
@@ -220,6 +220,7 @@ static void xom_make_item(object_class_type base,
god_acting gdact(GOD_XOM);
move_item_to_grid( &thing_created, you.x_pos, you.y_pos );
+ mitm[thing_created].inscription = "god gift";
canned_msg(MSG_SOMETHING_APPEARS);
stop_running();