summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/hiscores.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-06 21:05:35 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-06 21:05:35 +0000
commit7f97bf0e03db69e9f393d4b683705bcfdc3c7c86 (patch)
treef891733aafa5643976f15a034284af6cfabbee07 /crawl-ref/source/hiscores.cc
parent09a1c70aa415d3f72526fd3d075b68002f180b86 (diff)
downloadcrawl-ref-7f97bf0e03db69e9f393d4b683705bcfdc3c7c86.tar.gz
crawl-ref-7f97bf0e03db69e9f393d4b683705bcfdc3c7c86.zip
Add still more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8280 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/hiscores.cc')
-rw-r--r--crawl-ref/source/hiscores.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/crawl-ref/source/hiscores.cc b/crawl-ref/source/hiscores.cc
index 49fe90b540..57a381ab11 100644
--- a/crawl-ref/source/hiscores.cc
+++ b/crawl-ref/source/hiscores.cc
@@ -762,9 +762,10 @@ void scorefile_entry::init_death_cause(int dam, int dsrc,
auxkilldata = aux;
// for death by monster
- if ((death_type == KILLED_BY_MONSTER || death_type == KILLED_BY_BEAM
- || death_type == KILLED_BY_SPORE
- || death_type == KILLED_BY_REFLECTION)
+ if ((death_type == KILLED_BY_MONSTER
+ || death_type == KILLED_BY_BEAM
+ || death_type == KILLED_BY_SPORE
+ || death_type == KILLED_BY_REFLECTION)
&& !invalid_monster_index(death_source)
&& menv[death_source].type != -1)
{