From 158f75b70fa3a8c3d13e4309ffac991b4ab2799d Mon Sep 17 00:00:00 2001 From: Jeroen D Stout Date: Sat, 4 Jun 2016 01:02:18 +0200 Subject: [PATCH] Peeps drawing light --- src/paint/sprite/peep.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/paint/sprite/peep.c b/src/paint/sprite/peep.c index 60d69b384c..ded2953e9e 100644 --- a/src/paint/sprite/peep.c +++ b/src/paint/sprite/peep.c @@ -52,7 +52,8 @@ void peep_paint(rct_peep * peep, int imageDirection) return; }; - lightfx_add_3d_light(peep_x, peep_y, peep_z, LIGHTFX_LIGHT_TYPE_SPOT_1); + uint32 uniqueID = RCT2_GLOBAL(0x9DE578, uint32); + lightfx_add_3d_light(uniqueID, 0x0000 | LIGHTFX_LIGHT_QUALIFIER_SPRITE, peep_x, peep_y, peep_z, LIGHTFX_LIGHT_TYPE_SPOT_1); } #endif