mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-09 10:04:05 +09:00
fix; default emissive layer for item sheet sprite was transparent
This commit is contained in:
@@ -1797,7 +1797,7 @@ open class ActorWithBody : Actor {
|
|||||||
if (spriteGlow != null)
|
if (spriteGlow != null)
|
||||||
drawSpriteInGoodPosition(frameDelta, spriteGlow!!, batch, 1)
|
drawSpriteInGoodPosition(frameDelta, spriteGlow!!, batch, 1)
|
||||||
else if (sprite != null)
|
else if (sprite != null)
|
||||||
drawSpriteInGoodPosition(frameDelta, sprite!!, batch, 1, Color.BLACK)
|
drawSpriteInGoodPosition(frameDelta, sprite!!, batch, 0, Color.BLACK) // use black version of normal sprite as a substitution
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -1807,7 +1807,7 @@ open class ActorWithBody : Actor {
|
|||||||
if (spriteEmissive != null)
|
if (spriteEmissive != null)
|
||||||
drawSpriteInGoodPosition(frameDelta, spriteEmissive!!, batch, 2)
|
drawSpriteInGoodPosition(frameDelta, spriteEmissive!!, batch, 2)
|
||||||
else if (sprite != null)
|
else if (sprite != null)
|
||||||
drawSpriteInGoodPosition(frameDelta, sprite!!, batch, 2, Color.BLACK)
|
drawSpriteInGoodPosition(frameDelta, sprite!!, batch, 0, Color.BLACK) // use black version of normal sprite as a substitution
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user