Use getRace instead of direct uint32 value access for Corpse

This commit is contained in:
Yehonal
2017-12-11 01:11:32 +00:00
parent a32e81545f
commit 11d815e9d7
+1 -1
View File
@@ -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);