mirror of
https://github.com/TES3MP/TES3MP.git
synced 2025-09-26 14:36:40 -04:00
[Server] Stop resending attacks because they cause infinite death loops
This commit is contained in:
parent
ca0b1a8813
commit
96d01fcde4
@ -188,7 +188,6 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
|
||||
playerController->GetPacket(ID_PLAYER_SKILL)->Send(other, pl->guid);
|
||||
playerController->GetPacket(ID_PLAYER_POS)->Send(other, pl->guid);
|
||||
playerController->GetPacket(ID_PLAYER_EQUIPMENT)->Send(other, pl->guid);
|
||||
playerController->GetPacket(ID_PLAYER_ATTACK)->Send(other, pl->guid);
|
||||
playerController->GetPacket(ID_PLAYER_DRAWSTATE)->Send(other, pl->guid);
|
||||
|
||||
playerController->GetPacket(ID_PLAYER_DYNAMICSTATS)->Send(pl, other->guid);
|
||||
@ -196,7 +195,6 @@ void Networking::processPlayerPacket(RakNet::Packet *packet)
|
||||
playerController->GetPacket(ID_PLAYER_SKILL)->Send(pl, other->guid);
|
||||
playerController->GetPacket(ID_PLAYER_POS)->Send(pl, other->guid);
|
||||
playerController->GetPacket(ID_PLAYER_EQUIPMENT)->Send(pl, other->guid);
|
||||
playerController->GetPacket(ID_PLAYER_ATTACK)->Send(pl, other->guid);
|
||||
playerController->GetPacket(ID_PLAYER_DRAWSTATE)->Send(pl, other->guid);
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user