diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-08 04:16:16 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-09-08 04:16:16 +0000 |
commit | 202da55ba94c6b9458594274e44870d6d6ab7632 (patch) | |
tree | 62d7e0530768a62a92687c3608f9c16edf93e70f /crawl-ref/source/religion.cc | |
parent | 34f2a2197a9d373ce51e1ec9eea3cbbd51293c76 (diff) | |
download | crawl-ref-202da55ba94c6b9458594274e44870d6d6ab7632.tar.gz crawl-ref-202da55ba94c6b9458594274e44870d6d6ab7632.zip |
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6897 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index d7db81e57b..db88cf9e37 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -1704,7 +1704,7 @@ static void _do_god_gift(bool prayed_for) god_acting gdact; #if DEBUG_DIAGNOSTICS || DEBUG_GIFTS - int old_gifts = you.num_gifts[ you.religion ]; + int old_gifts = you.num_gifts[you.religion]; #endif // Consider a gift if we don't have a timeout and weren't already @@ -1727,7 +1727,7 @@ static void _do_god_gift(bool prayed_for) { god_speaks(you.religion, "Your stomach feels content."); set_hunger(6000, true); - lose_piety(5 + random2avg(10, 2) + (you.gift_timeout? 5 : 0)); + lose_piety(5 + random2avg(10, 2) + (you.gift_timeout ? 5 : 0)); _inc_gift_timeout(30 + random2avg(10, 2)); } break; |