mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 09:06:55 -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->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