mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
[HP Updates] Fix for Titanium clients not being updated properly by removing client version check (#1596)
This commit is contained in:
parent
10ba5d6046
commit
db369c98c8
@ -1370,7 +1370,6 @@ void Mob::SendHPUpdate(bool force_update_all)
|
|||||||
last_hp
|
last_hp
|
||||||
);
|
);
|
||||||
|
|
||||||
if (CastToClient()->ClientVersion() >= EQ::versions::ClientVersion::SoD) {
|
|
||||||
auto client_packet = new EQApplicationPacket(OP_HPUpdate, sizeof(SpawnHPUpdate_Struct));
|
auto client_packet = new EQApplicationPacket(OP_HPUpdate, sizeof(SpawnHPUpdate_Struct));
|
||||||
auto *hp_packet_client = (SpawnHPUpdate_Struct *) client_packet->pBuffer;
|
auto *hp_packet_client = (SpawnHPUpdate_Struct *) client_packet->pBuffer;
|
||||||
|
|
||||||
@ -1383,7 +1382,6 @@ void Mob::SendHPUpdate(bool force_update_all)
|
|||||||
safe_delete(client_packet);
|
safe_delete(client_packet);
|
||||||
|
|
||||||
ResetHPUpdateTimer();
|
ResetHPUpdateTimer();
|
||||||
}
|
|
||||||
|
|
||||||
// Used to check if HP has changed to update self next round
|
// Used to check if HP has changed to update self next round
|
||||||
last_hp = current_hp;
|
last_hp = current_hp;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user