mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-23 13:46:24 +00:00
Use getRace instead of direct uint32 value access for Corpse
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user