Fixed going up slideblocks speed
This commit is contained in:
parent
5e9ed79196
commit
11a8b632d0
|
@ -418,9 +418,7 @@ Public Class OverworldCamera
|
|||
#Region "CameraMethods"
|
||||
|
||||
Private Sub SetSpeed()
|
||||
If CurrentScreen.Identification = Screen.Identifications.OverworldScreen AndAlso CType(CurrentScreen, OverworldScreen).ActionScript.IsReady = False Then
|
||||
Speed = 0.04F
|
||||
Else
|
||||
If CurrentScreen.Identification = Screen.Identifications.OverworldScreen AndAlso CType(CurrentScreen, OverworldScreen).ActionScript.IsReady = True Then
|
||||
If Screen.Level.Riding = True Then
|
||||
Speed = 0.08F
|
||||
Else
|
||||
|
|
|
@ -50,6 +50,14 @@
|
|||
.UpdateEntity()
|
||||
End With
|
||||
IsReady = True
|
||||
Case "setspeed"
|
||||
Dim speed As Single = sng(argument)
|
||||
|
||||
Screen.Camera.Speed = speed * 0.04F
|
||||
IsReady = True
|
||||
Case "resetspeed"
|
||||
Screen.Camera.Speed = 0.04F
|
||||
IsReady = True
|
||||
Case "move"
|
||||
If Started = False Then
|
||||
Screen.Camera.Move(sng(argument))
|
||||
|
|
Loading…
Reference in New Issue