1
0
mirror of https://github.com/p2r3/bareiron.git synced 2025-10-01 23:25:09 +02:00

fix wrong angle order in spawn entity packet

This commit is contained in:
p2r3
2025-08-20 04:32:55 +03:00
parent 66ab597ad0
commit 19c49f8d54

View File

@@ -746,9 +746,9 @@ int sc_spawnEntity (
writeDouble(client_fd, z); writeDouble(client_fd, z);
// Angles // Angles
writeByte(client_fd, yaw);
writeByte(client_fd, pitch); writeByte(client_fd, pitch);
writeByte(client_fd, yaw); writeByte(client_fd, yaw);
writeByte(client_fd, yaw);
// Data - mostly unused // Data - mostly unused
writeByte(client_fd, 0); writeByte(client_fd, 0);