shithub: qk1

Download patch

ref: 4a017f063a2a88849ef19e705689f0c7e40e4b6c
parent: a8a766f53153710122d2fd1d9a8f53059d254c38
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Sun Dec 10 18:46:00 EST 2023

bsp30: fix blacked out lightmaps on one surface

--- a/model_bsp30.c
+++ b/model_bsp30.c
@@ -86,7 +86,7 @@
 		memmove(out->styles, in, MAXLIGHTMAPS);
 		in += MAXLIGHTMAPS;
 		i = le32(in);
-		if(i > 0){
+		if(i >= 0){
 			if(i % 3)
 				Con_Printf("misaligned light samples: %d\n", i);
 			else{