summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/itemprop.cc
diff options
context:
space:
mode:
authorreaverb <reaverb.Crawl@gmail.com>2014-05-22 03:13:13 -0400
committerreaverb <reaverb.Crawl@gmail.com>2014-05-22 03:14:13 -0400
commitb693d2abafece09612a19b0174ae30995cf3e6ca (patch)
tree8a8f42b0f43fcf5b99485cc01114ae63c5b8952c /crawl-ref/source/itemprop.cc
parent5dbbf134ce8b56ecd116eea42d689782f9fb21ae (diff)
downloadcrawl-ref-b693d2abafece09612a19b0174ae30995cf3e6ca.tar.gz
crawl-ref-b693d2abafece09612a19b0174ae30995cf3e6ca.zip
Fix a crash
I'll fix the documentation errors which caused this in the next day or so.
Diffstat (limited to 'crawl-ref/source/itemprop.cc')
-rw-r--r--crawl-ref/source/itemprop.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/crawl-ref/source/itemprop.cc b/crawl-ref/source/itemprop.cc
index e54eb363c1..2de5a05d75 100644
--- a/crawl-ref/source/itemprop.cc
+++ b/crawl-ref/source/itemprop.cc
@@ -429,6 +429,11 @@ static const food_def Food_prop[NUM_FOODS] =
{ FOOD_ROYAL_JELLY, "royal jelly", 2000, 0, 0, 40, 2, FFL_NONE },
{ FOOD_PIZZA, "pizza", 1500, 0, 0, 40, 2, FFL_NONE },
{ FOOD_CHEESE, "cheese", 1200, 0, 0, 40, 2, FFL_NONE },
+
+#if TAG_MAJOR_VERSION == 34
+ { FOOD_UNUSED, "buggy", 0, 0, 0, 40, 2, FFL_NONE },
+ { FOOD_AMBROSIA, "buggy", 0, 0, 0, 40, 2, FFL_NONE },
+#endif
};
// Must call this functions early on so that the above tables can