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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user