summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/wiz-you.cc
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/wiz-you.cc')
-rw-r--r--crawl-ref/source/wiz-you.cc10
1 files changed, 9 insertions, 1 deletions
diff --git a/crawl-ref/source/wiz-you.cc b/crawl-ref/source/wiz-you.cc
index dfc4d32fbb..df00ce13ab 100644
--- a/crawl-ref/source/wiz-you.cc
+++ b/crawl-ref/source/wiz-you.cc
@@ -881,5 +881,13 @@ void wizard_set_xl()
debug_uptick_xl(newxl);
}
+void wizard_get_god_gift (void)
+{
+ if (you.religion == GOD_NO_GOD)
+ {
+ mpr("You are not religious!");
+ return;
+ }
-
+ do_god_gift(false, true);
+}