fix(Core): Ghost property fix (#5033)

This commit is contained in:
Cláudio Costa 2021-04-05 11:38:32 +01:00 committed by GitHub
parent 0528e0b485
commit 94273da084
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5311,6 +5311,8 @@ void Player::ResurrectPlayer(float restore_percent, bool applySickness)
SetMovement(MOVE_LAND_WALK);
SetMovement(MOVE_UNROOT);
SetWaterWalking(false);
m_deathTimer = 0;
// set health/powers (0- will be set in caller)