summaryrefslogtreecommitdiff
path: root/games/fteqw/files/patch-client__cl_main.c
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-09-03 03:43:29 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-09-03 03:43:29 +0000
commit74e3bb7a35cc4fcae99e66e176293ef65248aa30 (patch)
tree2bf8f5b5f913ac3b210d60c567e0f08ab6a277c5 /games/fteqw/files/patch-client__cl_main.c
parentRESTRICTED, NO_CDROM and NO_PACKAGE are superfluous. (diff)
The intentions to the FTE QuakeWorld mod are to add some cool features to
QuakeWorld, without loosing any (backwards) compatability. All QuakeWorld clients should be able to connect to an FTE server, and all FTE clients should connect to any other QW server. The FTE client, supports Quake, NetQuake, QuakeWorld, Quake II, Quake III Arena, Hexen 2, Nexuiz and others. WWW: http://fteqw.com/
Diffstat (limited to 'games/fteqw/files/patch-client__cl_main.c')
-rw-r--r--games/fteqw/files/patch-client__cl_main.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/games/fteqw/files/patch-client__cl_main.c b/games/fteqw/files/patch-client__cl_main.c
new file mode 100644
index 000000000000..c688f240cbd5
--- /dev/null
+++ b/games/fteqw/files/patch-client__cl_main.c
@@ -0,0 +1,17 @@
+--- ./client/cl_main.c.orig Tue Jul 18 00:34:50 2006
++++ ./client/cl_main.c Sat Sep 2 19:03:55 2006
+@@ -2873,11 +2873,13 @@
+
+ if (host_initialized && cfg_save_name.string && *cfg_save_name.string)
+ {
+- if (strchr(cfg_save_name.string, '.'))
++#if 0
++ if (strstr(cfg_save_name.string, ".."))
+ {
+ Con_TPrintf (TLC_CONFIGCFG_WRITEFAILED);
+ return;
+ }
++#endif
+
+ f = FS_OpenVFS(va("%s.cfg",cfg_save_name.string), "wb", FS_GAMEONLY);
+ if (!f)