summaryrefslogtreecommitdiff
path: root/games/quake2-3zb2/files/patch-g_save.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2-3zb2/files/patch-g_save.c')
-rw-r--r--games/quake2-3zb2/files/patch-g_save.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/games/quake2-3zb2/files/patch-g_save.c b/games/quake2-3zb2/files/patch-g_save.c
new file mode 100644
index 000000000000..e05c8a9b94b7
--- /dev/null
+++ b/games/quake2-3zb2/files/patch-g_save.c
@@ -0,0 +1,22 @@
+--- ./g_save.c.orig Sat Dec 30 19:09:03 2006
++++ ./g_save.c Sat Dec 30 19:09:23 2006
+@@ -202,7 +202,9 @@
+ bob_up = gi.cvar ("bob_up", "0.005", 0);
+ bob_pitch = gi.cvar ("bob_pitch", "0.002", 0);
+ bob_roll = gi.cvar ("bob_roll", "0.002", 0);
+-
++
++ botchat = gi.cvar ("botchat", "1", CVAR_ARCHIVE);
++
+ // items
+ InitItems ();
+
+@@ -295,6 +297,8 @@
+ len = strlen(*(char **)p) + 1;
+ fwrite (*(char **)p, len, 1, f);
+ }
++ break;
++ default:
+ break;
+ }
+ }