fixed offset of highlight indicators when playing Tainted Lazarus
This commit is contained in:
1 parent
125ec5245c
commit
c45a134ae5
1 file changed
+4
@@ -393,6 +393,10 @@ function EID:renderIndicator(entity)
|
|||||||
if entity:GetData() and entity:GetData()["EID_RenderOffset"] then
|
if entity:GetData() and entity:GetData()["EID_RenderOffset"] then
|
||||||
entityPos = entityPos + entity:GetData()["EID_RenderOffset"]
|
entityPos = entityPos + entity:GetData()["EID_RenderOffset"]
|
||||||
end
|
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()
|
local sprite = entity:GetSprite()
|
||||||
if REPENTANCE then
|
if REPENTANCE then
|
||||||
repDiv = 255
|
repDiv = 255
|
||||||
|
|||||||
Reference in new issue
Block a user