Skip to content

Commit

Permalink
[9943] Add a small delay for npc despawn related to spell 51840
Browse files Browse the repository at this point in the history
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 <nofantasy@nf.no>
  • Loading branch information
NoFantasy committed May 20, 2010
1 parent 866d5c4 commit 6be7785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/game/SpellEffects.cpp
Expand Up @@ -1504,7 +1504,7 @@ void Spell::EffectDummy(SpellEffectIndex eff_idx)
}
}

((Creature*)unitTarget)->ForcedDespawn();
((Creature*)unitTarget)->ForcedDespawn(5000);
return;
}
case 51866: // Kick Nass
Expand Down
2 changes: 1 addition & 1 deletion 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__

0 comments on commit 6be7785

Please sign in to comment.