summaryrefslogtreecommitdiff
path: root/games/quake2-3zb2/files/patch-g_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'games/quake2-3zb2/files/patch-g_main.c')
-rw-r--r--games/quake2-3zb2/files/patch-g_main.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/games/quake2-3zb2/files/patch-g_main.c b/games/quake2-3zb2/files/patch-g_main.c
new file mode 100644
index 000000000000..604fe9646b5b
--- /dev/null
+++ b/games/quake2-3zb2/files/patch-g_main.c
@@ -0,0 +1,20 @@
+--- ./g_main.c.orig Sat Dec 30 19:09:03 2006
++++ ./g_main.c Sat Dec 30 19:09:23 2006
+@@ -62,6 +62,7 @@
+ float spawncycle;
+ float ctfjob_update;
+ //ponpoko
++cvar_t *botchat;
+
+ void SpawnEntities (char *mapname, char *entities, char *spawnpoint);
+ void ClientThink (edict_t *ent, usercmd_t *cmd);
+@@ -209,7 +210,8 @@
+
+ if(!maplist->string) return;
+
+- sprintf(Buff,".\\%s\\3ZBMAPS.LST",gamepath->string);
++ sprintf(Buff,"%s/3ZBMaps.lst",gamepath->string);
++
+ fp = fopen(Buff,"r");
+ if(fp == NULL) return;
+