shithub: qk1

Download patch

ref: 95500fd01f3fb268fb7524a188a833927d045767
parent: e7f55e32736cd1360a7135fda5a7ca4d97c45520
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Jan 5 20:13:23 EST 2024

surf_t: change last_u and spanstate to s16int

--- a/r_shared.h
+++ b/r_shared.h
@@ -65,8 +65,8 @@
 {
 	int			key;				// sorting key (BSP order)
 	int			flags;
-	int			last_u;				// set during tracing
-	byte		spanstate;			// 0 = not in span
+	s16int		last_u;				// set during tracing
+	s16int		spanstate;			// 0 = not in span
 									// 1 = in span
 									// -1 = in inverted span (end before
 									//  start)