aboutsummaryrefslogtreecommitdiff
path: root/games/q3cellshading/files/patch-code-renderer-tr_bsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/q3cellshading/files/patch-code-renderer-tr_bsp.c')
-rw-r--r--games/q3cellshading/files/patch-code-renderer-tr_bsp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/games/q3cellshading/files/patch-code-renderer-tr_bsp.c b/games/q3cellshading/files/patch-code-renderer-tr_bsp.c
new file mode 100644
index 000000000000..15cd58695076
--- /dev/null
+++ b/games/q3cellshading/files/patch-code-renderer-tr_bsp.c
@@ -0,0 +1,11 @@
+--- ./code/renderer/tr_bsp.c.orig Wed May 31 18:55:11 2006
++++ ./code/renderer/tr_bsp.c Wed May 31 19:09:13 2006
+@@ -1820,7 +1820,7 @@
+ Q_strncpyz( s_worldData.name, name, sizeof( s_worldData.name ) );
+
+ Q_strncpyz( s_worldData.baseName, COM_SkipPath( s_worldData.name ), sizeof( s_worldData.name ) );
+- COM_StripExtension( s_worldData.baseName, s_worldData.baseName );
++ COM_StripExtension( s_worldData.baseName, s_worldData.baseName , sizeof(s_worldData.baseName));
+
+ startMarker = ri.Hunk_Alloc(0, h_low);
+ c_gridVerts = 0;