summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);