mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-18 03:55:19 -04:00
Undo debug yaw/pitch offesting.
This commit is contained in:
parent
c88348c6d8
commit
d5f36adc8d
@ -741,8 +741,8 @@ namespace ClassicalSharp {
|
||||
float x = reader.ReadInt16() / 32f;
|
||||
float y = ( reader.ReadInt16() - 51 ) / 32f; // We have to do this.
|
||||
float z = reader.ReadInt16() / 32f;
|
||||
float yaw = (float)Utils.PackedToDegrees( reader.ReadUInt8() ) + 100f;
|
||||
float pitch = (float)Utils.PackedToDegrees( reader.ReadUInt8() ) + 50f;
|
||||
float yaw = (float)Utils.PackedToDegrees( reader.ReadUInt8() );
|
||||
float pitch = (float)Utils.PackedToDegrees( reader.ReadUInt8() );
|
||||
if( playerId == 0xFF ) {
|
||||
receivedFirstPosition = true;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user