diff options
author | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-05-30 20:43:54 -0700 |
---|---|---|
committer | Nicholas Feinberg <pleasingfung@gmail.com> | 2014-05-30 20:43:54 -0700 |
commit | 59e6cbfe854e25d643792eebbb625621c6d1fc40 (patch) | |
tree | 03e51b90452e1f4d5fc6ecb6f9edc2be9bbf2911 /crawl-ref/source/godprayer.cc | |
parent | 358dd7ecd41549b0538b3c2053d4f74f8b7a3cf0 (diff) | |
download | crawl-ref-59e6cbfe854e25d643792eebbb625621c6d1fc40.tar.gz crawl-ref-59e6cbfe854e25d643792eebbb625621c6d1fc40.zip |
Re-order some dubious code
Would have caused double messages when under Gozag
penance, if that was a thing that existed.
Diffstat (limited to 'crawl-ref/source/godprayer.cc')
-rw-r--r-- | crawl-ref/source/godprayer.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/godprayer.cc b/crawl-ref/source/godprayer.cc index 47467c951f..10340649d7 100644 --- a/crawl-ref/source/godprayer.cc +++ b/crawl-ref/source/godprayer.cc @@ -425,10 +425,10 @@ void pray() if (you_worship(GOD_XOM)) mprf(MSGCH_GOD, "%s", getSpeakString("Xom prayer").c_str()); + else if (you_worship(GOD_GOZAG)) + mprf(MSGCH_GOD, "%s", getSpeakString("Gozag prayer").c_str()); else if (player_under_penance()) simple_god_message(" demands penance!"); - if (you_worship(GOD_GOZAG)) - mprf(MSGCH_GOD, "%s", getSpeakString("Gozag prayer").c_str()); else mprf(MSGCH_PRAY, you.religion, "%s", god_prayer_reaction().c_str()); |