From 202da55ba94c6b9458594274e44870d6d6ab7632 Mon Sep 17 00:00:00 2001 From: dolorous Date: Mon, 8 Sep 2008 04:16:16 +0000 Subject: Add minor cosmetic fixes. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@6897 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/religion.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crawl-ref/source/religion.cc') 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; -- cgit v1.2.3-54-g00ecf