Jump to content

[8113][fix]Player's movement during Warlock's enslave


Auntie Mangos

Recommended Posts

  • * What bug does the patch fix? What features does the patch add?
    Movement problems during warlock's enslave and probably also during hunter's taming quest. Player was looking from his character's perspective, but in reality he was controlling his charmed pet.
    * For which repository revision was the patch created?
    8082
    * Is there a thread in the bug report section or at lighthouse? If yes, please add a link to the thread.
    http://getmangos.eu/community/viewtopic.php?id=7360
    * Who has been writing this patch? Please include either forum user names or email addresses.
    me

m_mover shouldn't be changed in the Unit::SetCharm, it's too general function, I made a new function - Player::SetMover(Unit *) and added a call to this function into all functions which are modifying target of player's controls. (somebody should check if I didn't miss any of these functions ;))

Functions which are now calling SetMover:

Aura::HandleModPossess

Aura::HandleModPossessPet

Player::EnterVehicle

Player::ExitVehicle

patch link: http://pastebin.ca/1483358

Link to comment
Share on other sites

  • 39 years later...
Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use