diff options
author | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-30 18:17:43 +0000 |
---|---|---|
committer | dolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573> | 2008-10-30 18:17:43 +0000 |
commit | 94a5e7d262a915b255dd4103b21d4744a17b655f (patch) | |
tree | f72df70c5c1aee6fd7a176d54de4cf35962eddfa /crawl-ref/source | |
parent | e506e3ecf0f3fc0a00dc385dcfe99a462b6e1962 (diff) | |
download | crawl-ref-94a5e7d262a915b255dd4103b21d4744a17b655f.tar.gz crawl-ref-94a5e7d262a915b255dd4103b21d4744a17b655f.zip |
Add another minor cosmetic fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7310 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source')
-rw-r--r-- | crawl-ref/source/spells2.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/spells2.cc b/crawl-ref/source/spells2.cc index 4afc154f26..ffc771c4d6 100644 --- a/crawl-ref/source/spells2.cc +++ b/crawl-ref/source/spells2.cc @@ -1243,7 +1243,7 @@ bool cast_summon_swarm(int pow, god_type god, break; } - bool friendly = (force_hostile) ? false : (random2(pow) > 7); + bool friendly = !force_hostile ? (random2(pow) > 7) : false; if (create_monster( mgen_data(mon, |