1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/games/tremor/files/patch-src__host.c
Alejandro Pulver c5e7fd99d5 - Update to version 3.2.4.1.
- Fix writting files in ~/.tremor instead of ~/.tremor/<game_name> when no
  "-game <game_name>" argument was given.
- Some patches were integrated, so they are removed.
2007-02-15 03:58:28 +00:00

12 lines
367 B
C

--- ./host.c.orig Sat Mar 26 21:14:38 2005
+++ ./host.c Tue May 16 14:59:52 2006
@@ -987,7 +987,7 @@
Host_WriteConfiguration ();
// joe: same here
- if (con_initialized && (cmdhist = fopen("cmdhist.dat", "wb")))
+ if (con_initialized && (cmdhist = fopen(va("%s/cmdhist.dat", com_gamedir), "wb")))
{
for (i=0 ; i<64 ; i++)
for (j=0 ; j<MAXCMDLINE ; j++)