All pastes #294051 Raw Edit

Someone

public text v1 · immutable
#294051 ·published 2006-12-28 03:23 UTC
rendered paste body
Index: src/game/Player.cpp
===================================================================
--- src/game/Player.cpp	(revision 2876)
+++ src/game/Player.cpp	(working copy)
@@ -2079,7 +2079,7 @@
     PlayerSpellMap::iterator itr = m_spells.find(spell_id);
     if (itr != m_spells.end())
     {
-        if(itr->second->state == PLAYERSPELL_REMOVED) return false;
+        if(itr->second->state == PLAYERSPELL_REMOVED) return itr;
 
         WorldPacket data;
         data.Initialize(SMSG_REMOVED_SPELL);