[HP Updates] Fix for Titanium clients not being updated properly by removing client version check (#1596)

This commit is contained in:
Chris Miles 2021-10-08 23:04:19 -05:00 committed by GitHub
parent 10ba5d6046
commit db369c98c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1370,7 +1370,6 @@ void Mob::SendHPUpdate(bool force_update_all)
last_hp
);
if (CastToClient()->ClientVersion() >= EQ::versions::ClientVersion::SoD) {
auto client_packet = new EQApplicationPacket(OP_HPUpdate, sizeof(SpawnHPUpdate_Struct));
auto *hp_packet_client = (SpawnHPUpdate_Struct *) client_packet->pBuffer;
@ -1383,7 +1382,6 @@ void Mob::SendHPUpdate(bool force_update_all)
safe_delete(client_packet);
ResetHPUpdateTimer();
}
// Used to check if HP has changed to update self next round
last_hp = current_hp;