summaryrefslogtreecommitdiff
path: root/games/quake2-3zb2/files/patch-g_svcmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2-3zb2/files/patch-g_svcmds.c')
-rw-r--r--games/quake2-3zb2/files/patch-g_svcmds.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/quake2-3zb2/files/patch-g_svcmds.c b/games/quake2-3zb2/files/patch-g_svcmds.c
new file mode 100644
index 000000000000..98b61b46551d
--- /dev/null
+++ b/games/quake2-3zb2/files/patch-g_svcmds.c
@@ -0,0 +1,13 @@
+--- ./g_svcmds.c.orig Sat Dec 30 19:09:03 2006
++++ ./g_svcmds.c Sat Dec 30 19:09:23 2006
+@@ -310,8 +310,8 @@
+ }
+
+ //とりあえずCTFだめ
+- if(ctf->value) sprintf(name,".\\%s\\chctf\\%s.chf",gamepath->string,level.mapname);
+- else sprintf(name,".\\%s\\chdtm\\%s.chn",gamepath->string,level.mapname);
++ if(ctf->value) sprintf(name,"%s/chctf/%s.chf",gamepath->string,level.mapname);
++ else sprintf(name,"%s/chdtm/%s.chn",gamepath->string,level.mapname);
+
+ fpout = fopen(name,"wb");
+ if(fpout == NULL) gi.cprintf(NULL,PRINT_HIGH,"Can't open %s\n",name);