freebsd-ports/games/quake2-3zb2/files/patch-g_main.c
Alejandro Pulver 48901ec1b7 - Fix undefined references in library (previously it could only be used with
"games/qudos" and "games/kmquake2", because they build a modified version).
- Install node files with appropiate permissions.
- Add an entry in pkg-message about permissions.
- Bump PORTREVISION.

Reported by:	Volodymyr Kostyrko <arcade@synergetica.dn.ua>
Obtained from:	http://svn.quakedev.com/viewcvs.cgi/qudos/trunk/src/mods/3zb2/
2006-12-30 23:21:53 +00:00

20 lines
513 B
C

--- ./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;