summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/food.cc
diff options
context:
space:
mode:
authorAdam Borowski <kilobyte@angband.pl>2013-12-12 14:55:44 +0100
committerAdam Borowski <kilobyte@angband.pl>2013-12-14 02:08:31 +0100
commit72a172d54a234456da31dc448418128ccafc0aa5 (patch)
tree942982a4d7bca230e6dad92876a8238493cbbee5 /crawl-ref/source/food.cc
parentf145d66dd3431247d0976e8c67ec04160158c312 (diff)
downloadcrawl-ref-72a172d54a234456da31dc448418128ccafc0aa5.tar.gz
crawl-ref-72a172d54a234456da31dc448418128ccafc0aa5.zip
Brace and doublespace removal.
Diffstat (limited to 'crawl-ref/source/food.cc')
-rw-r--r--crawl-ref/source/food.cc6
1 files changed, 0 insertions, 6 deletions
diff --git a/crawl-ref/source/food.cc b/crawl-ref/source/food.cc
index 75983d1c71..ae1f253d28 100644
--- a/crawl-ref/source/food.cc
+++ b/crawl-ref/source/food.cc
@@ -1178,9 +1178,7 @@ int eat_from_floor(bool skip_chunks)
break;
if (can_ingest(*item, false))
- {
return eat_item(*item);
- }
}
#else
sort(food_items.begin(), food_items.end(), compare_by_freshness());
@@ -1207,9 +1205,7 @@ int eat_from_floor(bool skip_chunks)
break;
if (can_ingest(*item, false))
- {
return eat_item(*item);
- }
need_more = true;
break;
case 'i':
@@ -1355,9 +1351,7 @@ bool eat_from_inventory()
case 'e':
case 'y':
if (can_ingest(*item, false))
- {
return eat_item(*item);
- }
break;
default:
// Else no: try next one.