1
0

AoM client also impacted by the issue removed version check and we will just not use the send spawn update boolean

This commit is contained in:
Emagi 2025-04-26 09:22:58 -04:00
parent 108371a077
commit d624ff260d

View File

@ -868,7 +868,7 @@ uchar* Spawn::spawn_pos_changes(Player* player, int16 version, int16* pos_packet
player->pos_mutex.writelock(__FUNCTION__, __LINE__); player->pos_mutex.writelock(__FUNCTION__, __LINE__);
uchar* orig_packet = player->GetSpawnPosPacketForXOR(id); uchar* orig_packet = player->GetSpawnPosPacketForXOR(id);
packet->ResetData(); packet->ResetData();
InitializePosPacketData(player, packet, version > 561 ? true : false); InitializePosPacketData(player, packet);
string* data = packet->serializeString(); string* data = packet->serializeString();
int32 size = data->length(); int32 size = data->length();
uchar* xor_pos_packet = player->GetTempPosPacketForXOR(); uchar* xor_pos_packet = player->GetTempPosPacketForXOR();