Core/Players: Updated player byte field offsets

This commit is contained in:
Shauren
2015-02-05 20:52:51 +01:00
parent f9c51b2c7d
commit 9db2e6dbbe
9 changed files with 121 additions and 77 deletions

View File

@@ -1345,7 +1345,7 @@ public:
// Set gender
target->SetByteValue(UNIT_FIELD_BYTES_0, UNIT_BYTES_0_OFFSET_GENDER, gender);
target->SetByteValue(PLAYER_BYTES_3, 0, gender);
target->SetByteValue(PLAYER_BYTES_3, PLAYER_BYTES_3_OFFSET_GENDER, gender);
// Change display ID
target->InitDisplayIds();