Use getRace instead of direct uint32 value access for Corpse
This commit is contained in:
parent
a32e81545f
commit
11d815e9d7
1 changed files with 1 additions and 1 deletions
|
|
@ -5292,7 +5292,7 @@ void Player::CreateCorpse()
|
|||
return;
|
||||
}
|
||||
|
||||
_uf = GetUInt32Value(UNIT_FIELD_BYTES_0);
|
||||
_uf = getRace();
|
||||
_pb = GetUInt32Value(PLAYER_BYTES);
|
||||
_pb2 = GetUInt32Value(PLAYER_BYTES_2);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue