mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[10627] Use ObjectGuid for player's selection and unit's target
This commit is contained in:
parent
e74d56f9d2
commit
c955941b55
21 changed files with 66 additions and 73 deletions
|
|
@ -1385,7 +1385,7 @@ void Creature::SetDeathState(DeathState s)
|
|||
|
||||
if (s == JUST_DIED)
|
||||
{
|
||||
SetTargetGUID(0); // remove target selection in any cases (can be set at aura remove in Unit::SetDeathState)
|
||||
SetTargetGuid(ObjectGuid()); // remove target selection in any cases (can be set at aura remove in Unit::SetDeathState)
|
||||
SetUInt32Value(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_NONE);
|
||||
|
||||
if (HasSearchedAssistance())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue