summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/religion.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-17 03:25:24 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2008-06-17 03:25:24 +0000
commit8c848e22dff838d41c5bf7c76941cd4c4d706792 (patch)
treef0b98190f9405f9b5a73601191b57d8ee8a45399 /crawl-ref/source/religion.cc
parent85d5c3d37733e879681a47ad5042e913f74205b1 (diff)
downloadcrawl-ref-8c848e22dff838d41c5bf7c76941cd4c4d706792.tar.gz
crawl-ref-8c848e22dff838d41c5bf7c76941cd4c4d706792.zip
Add minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@5909 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/religion.cc')
-rw-r--r--crawl-ref/source/religion.cc16
1 files changed, 8 insertions, 8 deletions
diff --git a/crawl-ref/source/religion.cc b/crawl-ref/source/religion.cc
index 507ee1ce9a..81b61ef49f 100644
--- a/crawl-ref/source/religion.cc
+++ b/crawl-ref/source/religion.cc
@@ -4090,7 +4090,7 @@ static bool _holy_beings_on_level_attitude_change()
{
bool success = false;
- for ( int i = 0; i < MAX_MONSTERS; ++i )
+ for (int i = 0; i < MAX_MONSTERS; ++i)
{
monsters *monster = &menv[i];
if (monster->alive()
@@ -4140,7 +4140,7 @@ static bool _evil_beings_on_level_attitude_change()
{
bool success = false;
- for ( int i = 0; i < MAX_MONSTERS; ++i )
+ for (int i = 0; i < MAX_MONSTERS; ++i)
{
monsters *monster = &menv[i];
if (monster->alive()
@@ -4179,7 +4179,7 @@ static bool _chaotic_beings_on_level_attitude_change()
{
bool success = false;
- for ( int i = 0; i < MAX_MONSTERS; ++i )
+ for (int i = 0; i < MAX_MONSTERS; ++i)
{
monsters *monster = &menv[i];
if (monster->alive()
@@ -4192,8 +4192,8 @@ static bool _chaotic_beings_on_level_attitude_change()
static_cast<int>(you.where_are_you));
#endif
- // If you worship Zin, you make all non-hostile chaotic
- // beings hostile.
+ // If you worship Zin, you make all friendly and good neutral
+ // chaotic beings hostile.
if (is_lawful_god(you.religion) && mons_wont_attack(monster))
{
monster->attitude = ATT_HOSTILE;
@@ -4218,7 +4218,7 @@ static bool _magic_users_on_level_attitude_change()
{
bool success = false;
- for ( int i = 0; i < MAX_MONSTERS; ++i )
+ for (int i = 0; i < MAX_MONSTERS; ++i)
{
monsters *monster = &menv[i];
if (monster->alive()
@@ -4231,8 +4231,8 @@ static bool _magic_users_on_level_attitude_change()
static_cast<int>(you.where_are_you));
#endif
- // If you worship Trog, you make all non-hostile magic users
- // hostile.
+ // If you worship Trog, you make all friendly and good neutral
+ // magic users hostile.
if (you.religion == GOD_TROG && mons_wont_attack(monster))
{
monster->attitude = ATT_HOSTILE;