From 3485c116c83a575a3125360aeba6702e87fcdf1b Mon Sep 17 00:00:00 2001
From: Alug <alufoliehorst@gmail.com>
Date: Tue, 21 Nov 2023 15:25:40 +0100
Subject: [PATCH] run P_RunShadows also in preticker

so the game wont crash randomly at mapload sometimes
---
 src/p_tick.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/p_tick.c b/src/p_tick.c
index 45fefa81e..90ae479de 100644
--- a/src/p_tick.c
+++ b/src/p_tick.c
@@ -895,6 +895,8 @@ void P_PreTicker(INT32 frames)
 		// Run shield positioning
 		//P_RunShields();
 		P_RunOverlays();
+		
+		P_RunShadows();
 
 		P_UpdateSpecials();
 		P_RespawnSpecials();
-- 
GitLab