Disabled toggle third person from the new game screen.
This commit is contained in:
parent
6e7032f2ae
commit
7891cfd77d
|
@ -7,6 +7,7 @@ Public Class OverworldCamera
|
|||
Public oldX, oldY As Single
|
||||
|
||||
Private _thirdPerson As Boolean = False
|
||||
Public _canToggleThirdPerson As Boolean = True
|
||||
Private _playerFacing As Integer = 0 'relative to the world, 0 means the player faces north, the camera might face in a different direction.
|
||||
|
||||
Private _freeCameraMode As Boolean = False
|
||||
|
@ -294,7 +295,7 @@ Public Class OverworldCamera
|
|||
If CurrentScreen.Identification = Screen.Identifications.OverworldScreen Then
|
||||
actionscriptReady = CType(CurrentScreen, OverworldScreen).ActionScript.IsReady
|
||||
End If
|
||||
If actionscriptReady = True Then
|
||||
If actionscriptReady = True And _canToggleThirdPerson Then
|
||||
SetThirdPerson(Not _thirdPerson, True)
|
||||
End If
|
||||
End If
|
||||
|
|
|
@ -131,10 +131,6 @@
|
|||
<Import Include="Microsoft.Xna.Framework.Content" />
|
||||
<Import Include="Microsoft.Xna.Framework.Media" />
|
||||
<Import Include="Microsoft.Xna.Framework.Audio" />
|
||||
<Reference Include="wmppia">
|
||||
<HintPath>C:\WMSDK\WMPSDK9\redist\wmppia.dll</HintPath>
|
||||
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Content Include="Content\Data\badges.dat">
|
||||
|
|
|
@ -16,8 +16,10 @@
|
|||
FOV = 45
|
||||
|
||||
|
||||
|
||||
CreateProjectionMatrix()
|
||||
Update()
|
||||
Me._canToggleThirdPerson = False
|
||||
End Sub
|
||||
|
||||
Private Sub CreateProjectionMatrix()
|
||||
|
|
|
@ -257,9 +257,6 @@
|
|||
Core.ServersManager.ServerConnection.Disconnect()
|
||||
End If
|
||||
Chat.ClearChat()
|
||||
'If Core.Player.loadedSave = True And Me.canCreateAutosave = True Then
|
||||
' Core.Player.SaveGame(False)
|
||||
'End If
|
||||
ScriptStorage.Clear()
|
||||
Core.SetScreen(New PressStartScreen())
|
||||
Core.Player.loadedSave = False
|
||||
|
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue