Adjusts Y_Pixel translate to properly sit the mob on the tile they're standing on (#28251)

This commit is contained in:
Spaghetti-bit
2025-02-12 22:23:16 +00:00
committed by GitHub
parent 3c4a4ead43
commit 4195958b45
@@ -18,6 +18,7 @@
if(resize != RESIZE_DEFAULT_SIZE)
changed++
ntransform.Scale(resize)
ntransform.Translate(0, (resize - 1) * 16) // Pixel Y shift: 1.25 = 4, 1.5 = 8, 2 -> 16, 3 -> 32, 4 -> 48, 5 -> 64
resize = RESIZE_DEFAULT_SIZE
if(changed)