summaryrefslogtreecommitdiff
path: root/games/quake2-3zb2/files/patch-g_svcmds.c
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 23:21:53 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 23:21:53 +0000
commit48901ec1b7c50ab52f8c509a9f26a6c562e241a8 (patch)
tree446ab42343592f377f6dc9371518d58713e11a36 /games/quake2-3zb2/files/patch-g_svcmds.c
parent- Add backup MASTER_SITES (diff)
- Fix undefined references in library (previously it could only be used with
"games/qudos" and "games/kmquake2", because they build a modified version). - Install node files with appropiate permissions. - Add an entry in pkg-message about permissions. - Bump PORTREVISION. Reported by: Volodymyr Kostyrko <arcade@synergetica.dn.ua> Obtained from: http://svn.quakedev.com/viewcvs.cgi/qudos/trunk/src/mods/3zb2/
Notes
Notes: svn path=/head/; revision=181110
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);