mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-11 16:45:48 -04:00
Merge pull request #1259 from BeyondThe5D/dont-save-pitch-axis-on-checkpoint-creation
Don't save camera's pitch axis when making a checkpoint
This commit is contained in:
commit
352d0f006f
@ -883,7 +883,7 @@ static cc_bool LocalPlayer_HandleSetSpawn(int key, struct InputDevice* device) {
|
||||
}
|
||||
|
||||
p->SpawnYaw = p->Base.Yaw;
|
||||
p->SpawnPitch = p->Base.Pitch;
|
||||
if (!Game_ClassicMode) p->SpawnPitch = p->Base.Pitch;
|
||||
}
|
||||
return LocalPlayer_HandleRespawn(key, device);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user