Skip to content

Commit 74c45f8

Browse files
authored
Fix onPlayerTeleport (#4007)
1 parent fe72f5c commit 74c45f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Server/mods/deathmatch/logic/packets/CPlayerPuresyncPacket.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ bool CPlayerPuresyncPacket::Read(NetBitStreamInterface& BitStream)
132132
position.data.vecPosition += vecTempPos;
133133
}
134134

135-
if (position.data.vecPosition.fX != 0.0f && position.data.vecPosition.fY != 0.0f && position.data.vecPosition.fZ != 0.0f)
135+
// if (position.data.vecPosition.fX != 0.0f || position.data.vecPosition.fY != 0.0f || position.data.vecPosition.fZ != 0.0f)
136136
{
137137
CVector playerPosition = pSourcePlayer->GetPosition();
138138
float playerDistancePosition = DistanceBetweenPoints3D(playerPosition, position.data.vecPosition);

0 commit comments

Comments
 (0)