From 85e7f2a79477712bf3082cb82e6a73c51361abb0 Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Wed, 10 Feb 2010 23:46:49 -0500 Subject: Adds missile-particle attribute to items and monster attacks To use simply add something like: missile-particle="graphics/particles/arrow.particle.xml" to the item's or monster's xml entry This will only work on equipped weapons, and on specified monster attacks. This patch also fixes a memory leak with target particles --- src/monster.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/monster.h') diff --git a/src/monster.h b/src/monster.h index f2bec72d..b35d908f 100644 --- a/src/monster.h +++ b/src/monster.h @@ -88,6 +88,9 @@ class Monster : public Being void updateCoords(); void showName(); + + private: + int mAttackType; }; #endif -- cgit v1.2.3-60-g2f50