mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-25 08:32:25 +00:00
Hero forge ID in OP_WearChange originating from a client is now set to the correct value prior to being broadcast to other clients.
This commit is contained in:
parent
648078d76c
commit
908a7061cf
@ -14049,6 +14049,10 @@ void Client::Handle_OP_WearChange(const EQApplicationPacket *app)
|
|||||||
if (wc->spawn_id != GetID())
|
if (wc->spawn_id != GetID())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
// Hero Forge ID needs to be fixed here as RoF2 appears to send an incorrect value.
|
||||||
|
if (wc->hero_forge_model != 0 && wc->wear_slot_id >= 0 && wc->wear_slot_id < EQEmu::textures::weaponPrimary)
|
||||||
|
wc->hero_forge_model = GetHerosForgeModel(wc->wear_slot_id);
|
||||||
|
|
||||||
// we could maybe ignore this and just send our own from moveitem
|
// we could maybe ignore this and just send our own from moveitem
|
||||||
entity_list.QueueClients(this, app, true);
|
entity_list.QueueClients(this, app, true);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user