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