diff options
author | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-25 13:49:52 +0000 |
---|---|---|
committer | dshaligram <dshaligram@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-03-25 13:49:52 +0000 |
commit | 4c56ab40290b29a37eefb46230e987ed6028ce4f (patch) | |
tree | c8def6cbd1815dc55cd132c99c98ed99ce9d20ac /crawl-ref/source/religion.cc | |
parent | bdb45bf27b86ff63c5afdff311b4065c83faf37d (diff) | |
download | crawl-ref-4c56ab40290b29a37eefb46230e987ed6028ce4f.tar.gz crawl-ref-4c56ab40290b29a37eefb46230e987ed6028ce4f.zip |
Applied whereis patch from crawl.akrasiac.org (tracks where the player is in
the dungeon).
All dgamelaunch patches are conditionalised by DGL_foo #ifdefs.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@1096 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 8731ff6629..97eb0b3d41 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -35,6 +35,7 @@ #include "abl-show.h" #include "beam.h" +#include "chardump.h" #include "debug.h" #include "decks.h" #include "describe.h" @@ -2590,10 +2591,12 @@ void god_pitch(unsigned char which_god) you.piety = 15; // to prevent near instant excommunication you.gift_timeout = 0; set_god_ability_slots(); // remove old god's slots, reserve new god's - +#ifdef DGL_WHEREIS + whereis_record(); +#endif snprintf( info, INFO_SIZE, " welcomes you%s!", (you.worshipped[which_god]) ? " back" : "" ); - + simple_god_message( info ); more(); |