mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-19 20:04:46 +02:00
Fix for custom water bug with GraphicsStyle
This commit is contained in:
parent
f0a9a9359b
commit
d08b472b35
@ -38,7 +38,6 @@
|
||||
Water.WaterTexturesTemp.Add("_11", TextureManager.GetTexture("Routes", New Rectangle(220, 220, 20, 20)))
|
||||
End Sub
|
||||
Private Sub CreateWaterTextureTemp()
|
||||
If Core.GameOptions.GraphicStyle = 1 Then
|
||||
Dim textureData As List(Of String) = Me.AdditionalValue.Split(CChar(",")).ToList()
|
||||
If textureData.Count >= 5 Then
|
||||
Dim RotationOffsetVertical As Boolean = False '''False = Horizontal, True = Vertical
|
||||
@ -95,7 +94,6 @@
|
||||
Water.WaterTexturesTemp.Add("_11", TextureManager.GetTexture("Routes", New Rectangle(220, 220, 20, 20)))
|
||||
End If
|
||||
End If
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Public Overrides Sub ClickFunction()
|
||||
|
@ -38,7 +38,6 @@
|
||||
End Sub
|
||||
|
||||
Private Sub CreateWaterTextureTemp()
|
||||
If Core.GameOptions.GraphicStyle = 1 Then
|
||||
Dim textureData As List(Of String) = Me.AdditionalValue.Split(CChar(",")).ToList()
|
||||
Dim RotationOffsetVertical As Boolean = False '''False = Horizontal, True = Vertical
|
||||
|
||||
@ -114,7 +113,6 @@
|
||||
End If
|
||||
End If
|
||||
|
||||
End If
|
||||
End Sub
|
||||
|
||||
Public Overrides Sub UpdateEntity()
|
||||
|
Loading…
x
Reference in New Issue
Block a user