mirror of https://github.com/ClassiCube/ClassiCube
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…
Reference in New Issue