mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
1.12.1 reacts to a unit's new UNIT_FIELD_MOUNTDISPLAYID in CGUnit_C::OnMountDisplayChanged (0x005FFA50): dismount from the old display, mount the new one with the mount-up effect, refresh the loop sound, quest marker and name. The field's type watcher OnMountDisplayFieldChanged (0x00604570) resolves the unit and calls it with the old value from one E8 call (0x0060459B), only on a real change. That call now reaches a function that runs the handler, then fires PLAYER_MOUNT_DISPLAY_CHANGED (no payload) when the unit is the player. VanillaHelpers calls the handler directly after a local mount morph and patches neither address, so a cosmetic morph fires nothing.