aboutsummaryrefslogtreecommitdiff
path: root/src/game/Player.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2009-02-27 12:28:10 -0600
committermegamage <none@none>2009-02-27 12:28:10 -0600
commit2dbe092d9f90721ddc3cbf30a4b755a5799ee9f8 (patch)
tree1d8535daf655c41049a17ca2c7d9886eee9540b5 /src/game/Player.cpp
parent4cdb56a96754c688e29dd2b53475a40135e863e3 (diff)
[7348] Remove hack code from IsDeathPersistentSpell. Author: VladimirMangos
Re-apply zone dependent auras at resurrection by triggering zone update for player. --HG-- branch : trunk
Diffstat (limited to 'src/game/Player.cpp')
-rw-r--r--src/game/Player.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/Player.cpp b/src/game/Player.cpp
index 50af6a798c8..a41abff3a78 100644
--- a/src/game/Player.cpp
+++ b/src/game/Player.cpp
@@ -3972,13 +3972,13 @@ void Player::ResurrectPlayer(float restore_percent, bool applySickness)
SetPower(POWER_ENERGY, uint32(GetMaxPower(POWER_ENERGY)*restore_percent));
}
+ // trigger update zone for alive state zone updates
+ UpdateZone(GetZoneId());
+
// update visibility
//ObjectAccessor::UpdateVisibilityForPlayer(this);
SetToNotify();
- // some items limited to specific map
- DestroyZoneLimitedItem( true, GetZoneId());
-
if(!applySickness)
return;