From 113d41814479ff2e59274085762dd577339d3ef5 Mon Sep 17 00:00:00 2001 From: Alug Date: Thu, 12 Sep 2024 02:23:39 +0200 Subject: [PATCH] try a funny = randomized directional lighningh --- src/p_setup.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/p_setup.c b/src/p_setup.c index 516f972ca..8c0b26ff7 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -322,10 +322,10 @@ static void P_ClearSingleMapHeaderInfo(INT16 i) // SRB2Kart //mapheaderinfo[num]->automap = false; mapheaderinfo[num]->mobj_scale = FRACUNIT; - mapheaderinfo[num]->light_contrast = 8; + mapheaderinfo[num]->light_contrast = M_RandomRange(0, 64); mapheaderinfo[num]->sprite_backlight = 0; - mapheaderinfo[num]->use_light_angle = false; - mapheaderinfo[num]->light_angle = 0; + mapheaderinfo[num]->use_light_angle = true; + mapheaderinfo[num]->light_angle = M_RandomRange(-255, 255); // an even further impossibility, delfile custom opts support mapheaderinfo[num]->customopts = NULL; mapheaderinfo[num]->numCustomOptions = 0;