summaryrefslogtreecommitdiffstats
path: root/crawl-ref
diff options
context:
space:
mode:
authordolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-07 07:15:54 +0000
committerdolorous <dolorous@c06c8d41-db1a-0410-9941-cceddc491573>2007-12-07 07:15:54 +0000
commit8f93a07ab1116805fc854207462861e02808d9bb (patch)
tree13607c8515eadd5312dfc237d128a895bdb108fe /crawl-ref
parentee19f1ad5c1a6bd5589fa76f42f8dc28d8dda844 (diff)
downloadcrawl-ref-8f93a07ab1116805fc854207462861e02808d9bb.tar.gz
crawl-ref-8f93a07ab1116805fc854207462861e02808d9bb.zip
Add a few last whitespace fixes.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3017 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref')
-rw-r--r--crawl-ref/source/describe.cc2
-rw-r--r--crawl-ref/source/makeitem.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/crawl-ref/source/describe.cc b/crawl-ref/source/describe.cc
index c2765db928..252d04042b 100644
--- a/crawl-ref/source/describe.cc
+++ b/crawl-ref/source/describe.cc
@@ -1841,7 +1841,7 @@ std::string get_item_description( const item_def &item, bool verbose,
{
std::string db_name = item.name(DESC_DBNAME, true, false, false);
std::string db_desc = getLongDescription(db_name);
-
+
if (db_desc == "")
{
if (item_type_known(item))
diff --git a/crawl-ref/source/makeitem.cc b/crawl-ref/source/makeitem.cc
index a17ddb81fd..d54e0bd810 100644
--- a/crawl-ref/source/makeitem.cc
+++ b/crawl-ref/source/makeitem.cc
@@ -1749,7 +1749,7 @@ static void generate_missile_item(item_def& item, int force_type,
// reduced quantity if special
if (item.sub_type == MI_JAVELIN || get_ammo_brand( item ) == SPMSL_CURARE)
item.quantity = random_range(2, 8);
- else if (get_ammo_brand( item ) != SPMSL_NORMAL )
+ else if (get_ammo_brand( item ) != SPMSL_NORMAL)
item.quantity = 1+random2(9) + random2(12) + random2(12);
else
item.quantity = 1+random2(9) + random2(12) + random2(12) + random2(15);