mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-21 17:54:48 +01:00
*Change the character's voice on modify gender - by Machiavelli
--HG-- branch : trunk
This commit is contained in:
@@ -7146,6 +7146,7 @@ bool ChatHandler::HandleModifyGenderCommand(const char *args)
|
||||
|
||||
// Set gender
|
||||
player->SetByteValue(UNIT_FIELD_BYTES_0, 2, gender);
|
||||
player->SetByteValue(PLAYER_BYTES_3, 0, gender);
|
||||
|
||||
// Change display ID
|
||||
player->SetDisplayId(new_displayId);
|
||||
|
||||
Reference in New Issue
Block a user