From 94a5e7d262a915b255dd4103b21d4744a17b655f Mon Sep 17 00:00:00 2001 From: dolorous Date: Thu, 30 Oct 2008 18:17:43 +0000 Subject: Add another minor cosmetic fix. git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@7310 c06c8d41-db1a-0410-9941-cceddc491573 --- crawl-ref/source/spells2.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crawl-ref/source') 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, -- cgit v1.2.3-54-g00ecf