From 16e8d95c21c884bf01514559e4d24eedaed71455 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 13 Jul 2005 17:33:39 +0000 Subject: [PATCH] (melt_item_denom): i_type shift (include/item.h 1.12) broke initializer, screwing up fallout damage. --- src/lib/global/constants.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/lib/global/constants.c b/src/lib/global/constants.c index 2a60501f..2577e55d 100644 --- a/src/lib/global/constants.c +++ b/src/lib/global/constants.c @@ -128,12 +128,10 @@ int rollover_avail_max = 0; /* max. avail that can roll over an update */ /* fraction of commodity destroyed is etus*fallout/(1000*melt_item_denom[item]) higher denominators for tougher commodities */ -int melt_item_denom[] = - /* civ mil shell gun pet iron dust bar */ -{ 0, 4, 20, 80, 100, 50, 100, 100, 200, - 2, 50, 100, 100, 2, 1000 +int melt_item_denom[] = { +/* civ mil shell gun pet iron dust bar food oil lcm hcm uw rads */ + 4, 20, 80, 100, 50, 100, 100, 200, 2, 50, 100, 100, 2, 1000 }; - /*food oil lcm hcm UW rads */ double decay_per_etu = 0.006; /* This gives a half life of ? etus, about ? days. half life in Jt