From 4195958b45a440f601f2481139087a4e2dc4c554 Mon Sep 17 00:00:00 2001 From: Spaghetti-bit Date: Wed, 12 Feb 2025 15:23:16 -0700 Subject: [PATCH] Adjusts Y_Pixel translate to properly sit the mob on the tile they're standing on (#28251) --- code/modules/mob/living/carbon/carbon_update_icons.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/modules/mob/living/carbon/carbon_update_icons.dm b/code/modules/mob/living/carbon/carbon_update_icons.dm index 494184c5299..a2fd23bdb52 100644 --- a/code/modules/mob/living/carbon/carbon_update_icons.dm +++ b/code/modules/mob/living/carbon/carbon_update_icons.dm @@ -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)