aboutsummaryrefslogtreecommitdiff
path: root/src/game/Wintergrasp.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-06-17 01:01:39 -0500
committermegamage <none@none>2009-06-17 01:01:39 -0500
commitc6765f9365126fbe90d66ca36e2d766a734ce4bb (patch)
treea5864e4155f4160c3cdee55d814e2c7464a89fd4 /src/game/Wintergrasp.cpp
parent30195348ac7e004acf84043c5bf9f1c70f19755e (diff)
*Allow to force to respawn creatures.
*Save creature data for vehicles. *Change some visibility update sequence of respawned creatures. *Fix bugs of quest 12687: dark rider may not be on horse / horse cannot be used twice / horse does not respawn at correct phase --HG-- branch : trunk
Diffstat (limited to 'src/game/Wintergrasp.cpp')
-rw-r--r--src/game/Wintergrasp.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/game/Wintergrasp.cpp b/src/game/Wintergrasp.cpp
index d604507a799..dbe086bb761 100644
--- a/src/game/Wintergrasp.cpp
+++ b/src/game/Wintergrasp.cpp
@@ -300,8 +300,7 @@ bool OPvPWintergrasp::UpdateCreatureInfo(Creature *creature)
if(entry != creature->GetEntry())
{
creature->SetOriginalEntry(entry);
- creature->setDeathState(DEAD);
- creature->Respawn();
+ creature->Respawn(true);
}
}