This commit is contained in:
Christian Schlittchen 2002-04-27 17:58:34 +00:00
parent f530f30cb7
commit ced9653fa6
1 changed files with 3 additions and 1 deletions

View File

@ -59,6 +59,8 @@
/* attributes inclues */ /* attributes inclues */
#include <attributes/matmod.h> #include <attributes/matmod.h>
#include <items/catapultammo.h>
#define NEW_TAVERN #define NEW_TAVERN
#define STONERECYCLE 50 #define STONERECYCLE 50
/* Name, MaxGroesse, MinBauTalent, Kapazitaet, {Eisen, Holz, Stein, BauSilber, /* Name, MaxGroesse, MinBauTalent, Kapazitaet, {Eisen, Holz, Stein, BauSilber,
@ -232,7 +234,7 @@ siege(region * r, unit * u)
/* meldung, schaden anrichten */ /* meldung, schaden anrichten */
if (d && !(is_cursed(b->attribs, C_MAGICSTONE, 0))) { if (d && !(is_cursed(b->attribs, C_MAGICSTONE, 0))) {
b->size -= d; b->size -= d;
new_use_pooled(au, &rt_catapultammo, GET_SLACK|GET_RESERVE|GET_POOLED_SLACK, d); new_use_pooled(u, &rt_catapultammo, GET_SLACK|GET_RESERVE|GET_POOLED_SLACK, d);
d = 100 * d / b->size; d = 100 * d / b->size;
} else d = 0; } else d = 0;