mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-29 00:34:38 +02:00
Fix switch perspective with PreventMovement
This commit is contained in:
parent
f5eff34304
commit
9312aa18c3
@ -320,7 +320,7 @@ Public Class OverworldCamera
|
||||
|
||||
Public Sub UpdateThirdPersonCamera()
|
||||
If _isFixed = False Then
|
||||
If KeyBoardHandler.KeyPressed(KeyBindings.PerspectiveSwitchKey) = True Or ControllerHandler.ButtonPressed(Buttons.LeftShoulder) = True AndAlso PreventMovement = False Then
|
||||
If PreventMovement = False AndAlso KeyBoardHandler.KeyPressed(KeyBindings.PerspectiveSwitchKey) = True Or ControllerHandler.ButtonPressed(Buttons.LeftShoulder) = True Then
|
||||
Dim actionscriptReady As Boolean = True
|
||||
If CurrentScreen.Identification = Screen.Identifications.OverworldScreen Then
|
||||
actionscriptReady = CType(CurrentScreen, OverworldScreen).ActionScript.IsReady
|
||||
|
Loading…
x
Reference in New Issue
Block a user