mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 00:04:33 +02:00
NPCs no longer walk or turn away when paused
This commit is contained in:
parent
5b18669000
commit
8d2eb864c1
@ -518,8 +518,12 @@
|
|||||||
#Region "Movement and Camera"
|
#Region "Movement and Camera"
|
||||||
|
|
||||||
Private Sub NPCMovement()
|
Private Sub NPCMovement()
|
||||||
If Core.CurrentScreen.Identification = Screen.Identifications.OverworldScreen Then
|
Dim s As Screen = CurrentScreen
|
||||||
If CType(Core.CurrentScreen, OverworldScreen).ActionScript.IsReady = False Then
|
While Not s.PreScreen Is Nothing And s.Identification <> Screen.Identifications.OverworldScreen
|
||||||
|
s = s.PreScreen
|
||||||
|
End While
|
||||||
|
If s.Identification = Screen.Identifications.OverworldScreen Then
|
||||||
|
If CType(s, OverworldScreen).ActionScript.IsReady = False Then
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
End If
|
End If
|
||||||
|
Loading…
x
Reference in New Issue
Block a user