shithub: qk1

Download patch

ref: 3ba533fb9d5e013768813983fc0a4464f4ba13ac
parent: 1d23f8a32e4a26c71b21376e21cf539aee95b831
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Tue Mar 2 05:18:32 EST 2021

increase local models name size for the insane amounts of brushes in BSP2

--- a/qw/server.h
+++ b/qw/server.h
@@ -305,7 +305,7 @@
 
 extern	edict_t		*sv_player;
 
-extern	char		localmodels[MAX_MODELS][5];	// inline model names for precache
+extern	char		localmodels[MAX_MODELS][8];	// inline model names for precache
 
 extern	char		localinfo[MAX_LOCALINFO_STRING+1];
 
--- a/qw/sv_init.c
+++ b/qw/sv_init.c
@@ -6,7 +6,7 @@
 server_static_t	svs;				// persistant server info
 server_t		sv;					// local server
 
-char	localmodels[MAX_MODELS][5];	// inline model names for precache
+char	localmodels[MAX_MODELS][8];	// inline model names for precache
 
 char localinfo[MAX_LOCALINFO_STRING+1]; // local game info
 
--- a/sv_main.c
+++ b/sv_main.c
@@ -7,7 +7,7 @@
 server_t		sv;
 server_static_t	svs;
 
-char	localmodels[MAX_MODELS][5];			// inline model names for precache
+char	localmodels[MAX_MODELS][8];			// inline model names for precache
 
 //============================================================================