mirror of
https://github.com/izzy2lost/2ship2harkinian-Android.git
synced 2026-06-19 01:20:08 -07:00
Add Free Look Camera Reset (#663)
This commit is contained in:
@@ -141,6 +141,11 @@ bool Camera_CanFreeLook(Camera* camera) {
|
||||
if (!sCanFreeLook && (fabsf(camX) >= 15.0f || fabsf(camY) >= 15.0f)) {
|
||||
sCanFreeLook = true;
|
||||
}
|
||||
// Pressing Z will "Reset" Camera
|
||||
if (CHECK_BTN_ALL(sCamPlayState->state.input[0].press.button, BTN_Z)) {
|
||||
sCanFreeLook = false;
|
||||
}
|
||||
|
||||
return sCanFreeLook;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user