mirror of
https://github.com/P3D-Legacy/P3D-Legacy.git
synced 2025-07-28 00:04:33 +02:00
Make shaders also visible on offsetmaps
This commit is contained in:
parent
221bdd6b9c
commit
db6d04174f
@ -223,9 +223,7 @@
|
||||
Case TagTypes.NPC
|
||||
AddNPC(Tags)
|
||||
Case TagTypes.Shader
|
||||
If loadOffsetMap = False Then
|
||||
AddShader(Tags)
|
||||
End If
|
||||
AddShader(Tags)
|
||||
Case TagTypes.OffsetMap
|
||||
If loadOffsetMap = False Or offsetMapLevel <= Core.GameOptions.MaxOffsetLevel Then
|
||||
AddOffsetMap(Tags)
|
||||
@ -250,6 +248,8 @@
|
||||
If s.HasBeenApplied = False Then
|
||||
s.ApplyShader(Screen.Level.Entities.ToArray())
|
||||
s.ApplyShader(Screen.Level.Floors.ToArray())
|
||||
s.ApplyShader(Screen.Level.OffsetmapEntities.ToArray())
|
||||
s.ApplyShader(Screen.Level.OffsetmapFloors.ToArray())
|
||||
End If
|
||||
Next
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user