Make shaders also visible on offsetmaps

This commit is contained in:
JappaWakka 2024-09-17 20:39:33 +02:00
parent 221bdd6b9c
commit db6d04174f
1 changed files with 3 additions and 3 deletions

View File

@ -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