position offset is taken into account (#726)
This commit is contained in:
1 parent
11afa64023
commit
83c801af72
1 file changed
+1
-1
@@ -841,7 +841,7 @@ function EID:renderIndicator(entity, playerNum)
|
|||||||
return
|
return
|
||||||
end
|
end
|
||||||
local repDiv = 1
|
local repDiv = 1
|
||||||
local entityPos = Isaac.WorldToScreen(entity.Position)
|
local entityPos = Isaac.WorldToScreen(entity.Position + entity.PositionOffset)
|
||||||
local ArrowOffset = Vector(0, -35)
|
local ArrowOffset = Vector(0, -35)
|
||||||
if entity.Variant == 100 and not entity:ToPickup():IsShopItem() then
|
if entity.Variant == 100 and not entity:ToPickup():IsShopItem() then
|
||||||
ArrowOffset = Vector(0, -62)
|
ArrowOffset = Vector(0, -62)
|
||||||
|
|||||||
Reference in new issue
Block a user