summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-22 09:28:34 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-01-22 09:28:34 +0000
commit581c0cd227e278195c880b22b5765e782e634b97 (patch)
treefcbbb0387c58b1f9e846639bb703f49cf425543c /crawl-ref/source/makeitem.cc
parent7da2a9fee7d7d079069fa698dc21c1b63f0d0b79 (diff)
downloadcrawl-ref-581c0cd227e278195c880b22b5765e782e634b97.tar.gz
crawl-ref-581c0cd227e278195c880b22b5765e782e634b97.zip
Add more minor cosmetic fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@8692 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index 838750ed0d..65e5547c75 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -73,7 +73,7 @@ static int _newwave_weapon_colour(const item_def &item)
if ( is_random_artefact(item) && (!item_runed || heav_runed) )
return _exciting_colour();
- if (is_range_weapon( item ))
+ if (is_range_weapon(item))
{
switch (range_skill(item))
{
@@ -123,6 +123,7 @@ static int _newwave_weapon_colour(const item_def &item)
break;
}
}
+
return (item_colour);
}
@@ -130,7 +131,7 @@ static int _classic_weapon_colour(const item_def &item)
{
int item_colour = BLACK;
- if (is_range_weapon( item ))
+ if (is_range_weapon(item))
item_colour = BROWN;
else
{