shithub: choc

Download patch

ref: ab2474552a124f3b076a3825714f13e55860a7c3
parent: b8d2bc344705ae3c530da783db45b3fefb94a5b3
author: Turo Lamminen <turol@iki.fi>
date: Thu Sep 8 09:39:06 EDT 2022

doom: Move walllights extern declaration to r_segs.h

--- a/src/doom/r_main.c
+++ b/src/doom/r_main.c
@@ -51,7 +51,6 @@
 
 
 lighttable_t*		fixedcolormap;
-extern lighttable_t**	walllights;
 
 int			centerx;
 int			centery;
--- a/src/doom/r_segs.h
+++ b/src/doom/r_segs.h
@@ -21,6 +21,7 @@
 #define __R_SEGS__
 
 
+extern lighttable_t **walllights;
 
 
 void