Sfoglia il codice sorgente

Oops didn't notice this before

Emagi 11 mesi fa
parent
commit
f510bd89d7
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      EQ2/source/WorldServer/Entity.cpp

+ 1 - 1
EQ2/source/WorldServer/Entity.cpp

@@ -116,7 +116,7 @@ void Entity::DeleteSpellEffects(bool removeClient)
 		if(i<30){
 			if(GetInfoStruct()->maintained_effects[i].spell_id != 0xFFFFFFFF)
 			{
-				if(deletedPtrs.find(GetInfoStruct()->spell_effects[i].spell) == deletedPtrs.end())
+				if(deletedPtrs.find(GetInfoStruct()->maintained_effects[i].spell) == deletedPtrs.end())
 				{
 					lua_interface->RemoveSpell(GetInfoStruct()->maintained_effects[i].spell, false, removeClient, "", removeClient);
 					if (IsPlayer())