From bca866cd8c9da697e1096a4497c3e8abb9d864fe Mon Sep 17 00:00:00 2001 From: NoFantasy Date: Fri, 21 May 2010 00:14:19 +0200 Subject: [PATCH] [9943] Add a small delay for npc despawn related to spell 51840 This will solve problem with summoned GO that does not appear before later, but does not solve problem with visual effects (which is a generic problem with many spells). Signed-off-by: NoFantasy --- src/game/SpellEffects.cpp | 2 +- src/shared/revision_nr.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index cff9c474d..63602595b 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -1504,7 +1504,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx) } } - ((Creature*)unitTarget)->ForcedDespawn(); + ((Creature*)unitTarget)->ForcedDespawn(5000); return; } case 51866: // Kick Nass diff --git a/src/shared/revision_nr.h b/src/shared/revision_nr.h index 9c18af725..d1d8d0656 100644 --- a/src/shared/revision_nr.h +++ b/src/shared/revision_nr.h @@ -1,4 +1,4 @@ #ifndef __REVISION_NR_H__ #define __REVISION_NR_H__ - #define REVISION_NR "9942" + #define REVISION_NR "9943" #endif // __REVISION_NR_H__