From e83e99f5b0689877fe4b7ec412b7f7a50efdcee5 Mon Sep 17 00:00:00 2001 From: JimTheCactus Date: Mon, 28 Jul 2014 13:05:29 -0600 Subject: [PATCH] Added handler for pixel stepping --- code/modules/paperwork/photography.dm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/code/modules/paperwork/photography.dm b/code/modules/paperwork/photography.dm index 3a956e7ff65..df08827c44e 100644 --- a/code/modules/paperwork/photography.dm +++ b/code/modules/paperwork/photography.dm @@ -186,6 +186,9 @@ // Calculate where we are relative to the center of the photo var/xoff = (A.x - center.x) * 32 var/yoff = (A.y - center.y) * 32 + if (istype(A,/atom/movable)) + xoff+=A:step_x + yoff+=A:step_y res.Blend(img, blendMode2iconMode(A.blend_mode), 33 + A.pixel_x + xoff, 33 + A.pixel_y + yoff) // Lastly, render any contained effects on top.