summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/makeitem.cc
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-18 18:54:09 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2009-04-18 18:54:09 +0000
commit31f090ece8bfe69146d5dd1fafd5e3dc01405e67 (patch)
tree5c293636010b1bb328f598a823d44aabf23138e6 /crawl-ref/source/makeitem.cc
parent52635e528e83419737ee28b01286ecd3df9be11a (diff)
downloadcrawl-ref-31f090ece8bfe69146d5dd1fafd5e3dc01405e67.tar.gz
crawl-ref-31f090ece8bfe69146d5dd1fafd5e3dc01405e67.zip
Add one more minor cosmetic fix.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@9635 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
-rw-r--r--crawl-ref/source/makeitem.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index b528b3d5cb..5df6a72c9c 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -2819,7 +2819,7 @@ int items( int allow_uniques, // not just true-false,
if (get_unique_item_status(OBJ_WEAPONS, force_ego) == UNIQ_NOT_EXISTS)
{
make_item_fixed_artefact(mitm[p], false, force_ego);
- return p;
+ return (p);
}
// the base item otherwise
item.special = SPWPN_NORMAL;