Use getRace instead of direct uint32 value access for Corpse
This commit is contained in:
@@ -5292,7 +5292,7 @@ void Player::CreateCorpse()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
_uf = GetUInt32Value(UNIT_FIELD_BYTES_0);
|
_uf = getRace();
|
||||||
_pb = GetUInt32Value(PLAYER_BYTES);
|
_pb = GetUInt32Value(PLAYER_BYTES);
|
||||||
_pb2 = GetUInt32Value(PLAYER_BYTES_2);
|
_pb2 = GetUInt32Value(PLAYER_BYTES_2);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user