mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-27 15:54:25 +02:00
Fix softlock when pausing during catching
And a minor typo in the code
This commit is contained in:
parent
00f78d5728
commit
531137c157
@ -87,7 +87,7 @@ nextIndex:
|
|||||||
TextBox.Draw()
|
TextBox.Draw()
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
Private Sub UpdateAnimations()
|
Public Sub UpdateAnimations()
|
||||||
Dim cIndex As Integer = 0
|
Dim cIndex As Integer = 0
|
||||||
nextIndex:
|
nextIndex:
|
||||||
If AnimationList.Count > cIndex Then
|
If AnimationList.Count > cIndex Then
|
||||||
|
@ -81,6 +81,8 @@
|
|||||||
Public Overrides Sub Update()
|
Public Overrides Sub Update()
|
||||||
If PreScreen.Identification = Identifications.OverworldScreen Then
|
If PreScreen.Identification = Identifications.OverworldScreen Then
|
||||||
Screen.Level.Update()
|
Screen.Level.Update()
|
||||||
|
ElseIf PreScreen.Identification = Identifications.BattleCatchScreen Then
|
||||||
|
CType(PreScreen, BattleCatchScreen).UpdateAnimations()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
Screen.TextBox.reDelay = 0.0F
|
Screen.TextBox.reDelay = 0.0F
|
||||||
|
@ -245,7 +245,7 @@ Public MustInherit Class Screen
|
|||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
''' <summary>
|
''' <summary>
|
||||||
''' The base update fucntion of a screen.
|
''' The base update function of a screen.
|
||||||
''' </summary>
|
''' </summary>
|
||||||
''' <remarks>Contains no default code.</remarks>
|
''' <remarks>Contains no default code.</remarks>
|
||||||
Public Overridable Overloads Sub Update()
|
Public Overridable Overloads Sub Update()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user