updated on Mon Jan 16 16:00:41 UTC 2012
[aur-mirror.git] / kmquake2 / no-save-date-check.patch
blobbff14c5d1b01425ebc080144446eaeb517adb9a4
1 --- game/g_save.c.old 2008-03-26 10:30:07.566890048 +0500
2 +++ game/g_save.c 2008-03-26 13:21:28.040059549 +0500
3 @@ -750,7 +750,6 @@ void WriteGame (char *filename, qboolean
4 gi.error ("Couldn't open %s", filename);
6 memset (str, 0, sizeof(str));
7 - strcpy (str, __DATE__);
8 fwrite (str, sizeof(str), 1, f);
10 game.autosaved = autosave;
11 @@ -779,11 +778,6 @@ void ReadGame (char *filename)
12 gi.error ("Couldn't open %s", filename);
14 fread (str, sizeof(str), 1, f);
15 - if (strcmp (str, __DATE__))
16 - {
17 - fclose (f);
18 - gi.error ("Savegame from an older version.\n");
19 - }
21 g_edicts = gi.TagMalloc (game.maxentities * sizeof(g_edicts[0]), TAG_GAME);
22 globals.edicts = g_edicts;