diff options
author | Neil Moore <neil@s-z.org> | 2014-08-07 23:32:18 -0400 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2014-08-07 23:32:18 -0400 |
commit | 8f4210bb81f7c8dd2787e6549544985e1ef94d0b (patch) | |
tree | 5df80b02acbb4d4068d2cc5e5259d5c10ab9e965 | |
parent | ead039468edb737c2a52e39911036e82be9e6224 (diff) | |
download | crawl-ref-8f4210bb81f7c8dd2787e6549544985e1ef94d0b.tar.gz crawl-ref-8f4210bb81f7c8dd2787e6549544985e1ef94d0b.zip |
Don't crash on &_<your god>.
-rw-r--r-- | crawl-ref/source/wiz-you.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crawl-ref/source/wiz-you.cc b/crawl-ref/source/wiz-you.cc index 0a7b8489e4..bc3bbe7ac9 100644 --- a/crawl-ref/source/wiz-you.cc +++ b/crawl-ref/source/wiz-you.cc @@ -1239,6 +1239,8 @@ void wizard_join_religion() else excommunication(); } + else if (you_worship(god)) + mpr("You already worship that god!"); else join_religion(god, true); } |