summaryrefslogtreecommitdiff
path: root/games/tenebrae/files/patch-common.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/tenebrae/files/patch-common.c')
-rw-r--r--games/tenebrae/files/patch-common.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/games/tenebrae/files/patch-common.c b/games/tenebrae/files/patch-common.c
index 4da54a7ef122..facc89061cb8 100644
--- a/games/tenebrae/files/patch-common.c
+++ b/games/tenebrae/files/patch-common.c
@@ -1,11 +1,13 @@
---- common.c.orig Sun Mar 14 13:16:07 2004
-+++ common.c Sun Mar 14 13:17:40 2004
-@@ -2221,6 +2221,8 @@
+--- ./common.c.orig Sat Jun 10 12:08:13 2006
++++ ./common.c Sat Jun 10 12:08:13 2006
+@@ -2221,7 +2221,10 @@
if ((userdir[j-1] == '\\') || (userdir[j-1] == '/'))
userdir[j-1] = 0;
}
+
+ strncpy (com_prefdir, userdir, j);
COM_AddGameFS (userdir);
++ Sys_mkdir(com_gamedir);
#endif
+