From fde8e9bada5331a156d9d7d8fcba6bdd53fe304b Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Wed, 20 Jun 2007 18:29:46 +0000 Subject: [PATCH] old weapons code that is no longer needed since all weapons have been in XML for a long time. --- src/common/items/weapons.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/common/items/weapons.c b/src/common/items/weapons.c index cbd5b155a..1b66a1633 100644 --- a/src/common/items/weapons.c +++ b/src/common/items/weapons.c @@ -31,18 +31,8 @@ #include #include -enum { - WP_NONE, - WP_MAX -}; - /* damage types */ -#define CUT (1<<0) -#define PIERCE (1<<1) -#define BASH (1<<2) -#define ARMORPIERCING (1<<3) - static boolean attack_firesword(const troop * at, const struct weapon_type * wtype, int *casualties) {