mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-04-08 18:35:09 +02:00
[Overworld Pokémon Fix]
Fixed OverworldPokemon from continuing to walk infinitely when pausing the game, opening a chat window or while the current screen is any other screen than OverworldScreen
This commit is contained in:
parent
9e84125706
commit
9244a18653
@ -159,7 +159,7 @@ Public Class OverworldPokemon
|
||||
End Sub
|
||||
|
||||
Private Sub ChangePosition()
|
||||
If Screen.Camera.IsMoving() = True Then
|
||||
If Screen.Camera.IsMoving() = True And Core.CurrentScreen.Identification = Screen.Identifications.OverworldScreen Then
|
||||
If CInt(Me.Position.X) <> CInt(Screen.Camera.Position.X) Or CInt(Me.Position.Z) <> CInt(Screen.Camera.Position.Z) Then
|
||||
Me.Position += GetMove()
|
||||
Me.AnimationDelayLenght = 1.1F
|
||||
|
Loading…
x
Reference in New Issue
Block a user