From e27f3c797322be87a9519a5229fab51f5856233c Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Sun, 21 Oct 2007 16:17:25 +0000 Subject: Plugged memory leak in equipment sound. --- src/resources/iteminfo.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/resources/iteminfo.h') diff --git a/src/resources/iteminfo.h b/src/resources/iteminfo.h index d6c43198..b6fc922c 100644 --- a/src/resources/iteminfo.h +++ b/src/resources/iteminfo.h @@ -49,7 +49,6 @@ class ItemInfo * Constructor. */ ItemInfo(): - mImageName(""), mImage(NULL), mType(0), mWeight(0), @@ -138,7 +137,7 @@ class ItemInfo std::map mAnimationFiles; /** Stores the names of sounds to be played at certain event. */ - std::map* > mSounds; + std::map< EquipmentSoundEvent, std::vector > mSounds; }; #endif -- cgit v1.2.3-70-g09d2