diff options
author | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-29 09:44:50 +0000 |
---|---|---|
committer | j-p-e-g <j-p-e-g@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-05-29 09:44:50 +0000 |
commit | b42bd161b6822443312c2fd75dc1d724edd30e13 (patch) | |
tree | e08f81cfb58d1124c2a24db288bdcab73c94c651 /crawl-ref/source/religion.cc | |
parent | 5f14cf8ebbe2bcd0de008010281061edfd2c503a (diff) | |
download | crawl-ref-b42bd161b6822443312c2fd75dc1d724edd30e13.tar.gz crawl-ref-b42bd161b6822443312c2fd75dc1d724edd30e13.zip |
Modify tutorial messages for the new triggers. Thanks again, Matthew! :)
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5328 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r-- | crawl-ref/source/religion.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc index 0530ee811a..7ac6aa2350 100644 --- a/crawl-ref/source/religion.cc +++ b/crawl-ref/source/religion.cc @@ -4642,29 +4642,29 @@ bool god_hates_attacking_friend(god_type god, const actor *fr) } } -static bool _god_likes_items(god_type god) +bool god_likes_items(god_type god) { switch (god) { case GOD_ZIN: case GOD_SHINING_ONE: case GOD_KIKUBAAQUDGHA: case GOD_OKAWARU: case GOD_MAKHLEB: case GOD_SIF_MUNA: case GOD_TROG: case GOD_NEMELEX_XOBEH: - return true; + return (true); case GOD_YREDELEMNUL: case GOD_XOM: case GOD_VEHUMET: case GOD_LUGONU: case GOD_BEOGH: case GOD_ELYVILON: - return false; + return (false); case GOD_NO_GOD: case NUM_GODS: case GOD_RANDOM: mprf(MSGCH_ERROR, "Bad god, no biscuit! %d", static_cast<int>(god) ); - return false; + return (false); } - return false; + return (false); } static bool _god_likes_item(god_type god, const item_def& item) { - if ( !_god_likes_items(god) ) + if (!god_likes_items(god)) return false; switch (god) @@ -4719,7 +4719,7 @@ void offer_items() int i = igrd[you.x_pos][you.y_pos]; - if (!_god_likes_items(you.religion) && i != NON_ITEM) + if (!god_likes_items(you.religion) && i != NON_ITEM) { simple_god_message(" doesn't care about such mundane gifts.", you.religion); return; |