summaryrefslogtreecommitdiff
path: root/src/game-server/item.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-08-19 17:53:17 +0200
committerPhilipp Sehmisch <crush@themanaworld.org>2009-08-19 18:07:56 +0200
commit3327475b675bf94fd827ffd36838baa42a84f11b (patch)
tree074d052fec85537f28916c82f1f84f701736753d /src/game-server/item.cpp
parente6471b3ffc2f4cc049184a979db7b02c41a8e475 (diff)
downloadmanaserv-3327475b675bf94fd827ffd36838baa42a84f11b.tar.gz
manaserv-3327475b675bf94fd827ffd36838baa42a84f11b.tar.bz2
manaserv-3327475b675bf94fd827ffd36838baa42a84f11b.tar.xz
manaserv-3327475b675bf94fd827ffd36838baa42a84f11b.zip
Removed attack shape from items. Added distance check on attacks (values still hardcoded). performAttack now takes a target and a range argument instead of determining the target with accumulate&fire
Diffstat (limited to 'src/game-server/item.cpp')
-rw-r--r--src/game-server/item.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/game-server/item.cpp b/src/game-server/item.cpp
index 5512a347..3b0296aa 100644
--- a/src/game-server/item.cpp
+++ b/src/game-server/item.cpp
@@ -115,7 +115,6 @@ void ItemModifiers::cancelAttributes(Being *b) const
ItemClass::~ItemClass()
{
- if (mAttackZone) delete mAttackZone;
if (mScript) delete mScript;
}