Core/Players: Fix being able to water walk after being revived
By IvanVojtko, closes #10950, closes #11323
This commit is contained in:
1 parent
3f0d22690f
commit
dc9c3362ab
1 file changed
+1
-1
@@ -5129,7 +5129,7 @@ void Player::ResurrectPlayer(float restore_percent, bool applySickness)
|
|||||||
|
|
||||||
setDeathState(ALIVE);
|
setDeathState(ALIVE);
|
||||||
|
|
||||||
SetWaterWalking(false);
|
SetWaterWalking(false, true);
|
||||||
if (!HasUnitState(UNIT_STATE_STUNNED))
|
if (!HasUnitState(UNIT_STATE_STUNNED))
|
||||||
SetRooted(false);
|
SetRooted(false);
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user