ports/games/quake2-3zb2/files/patch-g_svcmds.c
Alejandro Pulver 48901ec1b7 - 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/
2006-12-30 23:21:53 +00:00

13 lines
557 B
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

--- ./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);