From f5df1acaaa3379ab09c585117f2b5f492fca1643 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 dcc7c9f55e..cbc119eaf5 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.