mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[11362] Really reset UNIT_DYNAMIC_FLAGS at player death
This commit is contained in:
parent
bacb39a724
commit
6c22335e9a
2 changed files with 2 additions and 2 deletions
|
|
@ -4564,7 +4564,7 @@ void Player::KillPlayer()
|
|||
SetDeathState(CORPSE);
|
||||
//SetFlag( UNIT_FIELD_FLAGS, UNIT_FLAG_NOT_IN_PVP );
|
||||
|
||||
SetFlag(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_NONE);
|
||||
SetUInt32Value(UNIT_DYNAMIC_FLAGS, UNIT_DYNFLAG_NONE);
|
||||
ApplyModByteFlag(PLAYER_FIELD_BYTES, 0, PLAYER_FIELD_BYTE_RELEASE_TIMER, !sMapStore.LookupEntry(GetMapId())->Instanceable());
|
||||
|
||||
// 6 minutes until repop at graveyard
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue