Make shaders also visible on offsetmaps
This commit is contained in:
parent
221bdd6b9c
commit
db6d04174f
|
@ -223,9 +223,7 @@
|
||||||
Case TagTypes.NPC
|
Case TagTypes.NPC
|
||||||
AddNPC(Tags)
|
AddNPC(Tags)
|
||||||
Case TagTypes.Shader
|
Case TagTypes.Shader
|
||||||
If loadOffsetMap = False Then
|
AddShader(Tags)
|
||||||
AddShader(Tags)
|
|
||||||
End If
|
|
||||||
Case TagTypes.OffsetMap
|
Case TagTypes.OffsetMap
|
||||||
If loadOffsetMap = False Or offsetMapLevel <= Core.GameOptions.MaxOffsetLevel Then
|
If loadOffsetMap = False Or offsetMapLevel <= Core.GameOptions.MaxOffsetLevel Then
|
||||||
AddOffsetMap(Tags)
|
AddOffsetMap(Tags)
|
||||||
|
@ -250,6 +248,8 @@
|
||||||
If s.HasBeenApplied = False Then
|
If s.HasBeenApplied = False Then
|
||||||
s.ApplyShader(Screen.Level.Entities.ToArray())
|
s.ApplyShader(Screen.Level.Entities.ToArray())
|
||||||
s.ApplyShader(Screen.Level.Floors.ToArray())
|
s.ApplyShader(Screen.Level.Floors.ToArray())
|
||||||
|
s.ApplyShader(Screen.Level.OffsetmapEntities.ToArray())
|
||||||
|
s.ApplyShader(Screen.Level.OffsetmapFloors.ToArray())
|
||||||
End If
|
End If
|
||||||
Next
|
Next
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue