mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
In the CREATE update block, the ufNpcFlags check at the end of the else-if chain was unreachable dead code — it was already handled earlier in the same chain. Remove the duplicate. In the VALUES update block, mount display changes via field updates fired mountCallback_ but not the UNIT_MODEL_CHANGED addon event, unlike the CREATE path which fired both. Add the missing event so Lua addons are notified when the player mounts/dismounts via VALUES updates (the common case for aura-based mounting). Also fire UNIT_MODEL_CHANGED for target/focus/pet display ID changes in the VALUES displayIdChanged path, matching the CREATE path behavior. |
||
|---|---|---|
| .. | ||
| character.cpp | ||
| entity.cpp | ||
| expansion_profile.cpp | ||
| game_handler.cpp | ||
| inventory.cpp | ||
| opcode_table.cpp | ||
| opcodes.cpp | ||
| packet_parsers_classic.cpp | ||
| packet_parsers_tbc.cpp | ||
| player.cpp | ||
| transport_manager.cpp | ||
| update_field_table.cpp | ||
| warden_crypto.cpp | ||
| warden_emulator.cpp | ||
| warden_memory.cpp | ||
| warden_module.cpp | ||
| world.cpp | ||
| world_packets.cpp | ||
| zone_manager.cpp | ||