mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 17:17:09 -04:00
Don't save camera's pitch axis when making a checkpoint
This commit is contained in:
parent
688afa067c
commit
561000eb0c
@ -883,7 +883,7 @@ static cc_bool LocalPlayer_HandleSetSpawn(int key, struct InputDevice* device) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
p->SpawnYaw = p->Base.Yaw;
|
p->SpawnYaw = p->Base.Yaw;
|
||||||
p->SpawnPitch = p->Base.Pitch;
|
if (!Game_ClassicMode) p->SpawnPitch = p->Base.Pitch;
|
||||||
}
|
}
|
||||||
return LocalPlayer_HandleRespawn(key, device);
|
return LocalPlayer_HandleRespawn(key, device);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user