fixed offset of highlight indicators when playing Tainted Lazarus

This commit is contained in:
Wofsauge committed 2021-11-28 18:43:30 +01:00
1 parent 125ec5245c
commit c45a134ae5
1 file changed
+4
+4
View File
@@ -393,6 +393,10 @@ function EID:renderIndicator(entity)
if entity:GetData() and entity:GetData()["EID_RenderOffset"] then
entityPos = entityPos + entity:GetData()["EID_RenderOffset"]
end
-- Move highlights a bit to fit onto the alt Item layout of Flip / Tainted Laz
if REPENTANCE and entity.Variant == 100 and EID.player:HasCollectible(CollectibleType.COLLECTIBLE_FLIP) then
entityPos = entityPos + Vector(2.5,2.5)
end
local sprite = entity:GetSprite()
if REPENTANCE then
repDiv = 255