summaryrefslogtreecommitdiff
path: root/games/quake2-3zb2/files/patch-p_client.c
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 23:21:53 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-12-30 23:21:53 +0000
commit48901ec1b7c50ab52f8c509a9f26a6c562e241a8 (patch)
tree446ab42343592f377f6dc9371518d58713e11a36 /games/quake2-3zb2/files/patch-p_client.c
parent- Add backup MASTER_SITES (diff)
- 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/
Notes
Notes: svn path=/head/; revision=181110
Diffstat (limited to 'games/quake2-3zb2/files/patch-p_client.c')
-rw-r--r--games/quake2-3zb2/files/patch-p_client.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/games/quake2-3zb2/files/patch-p_client.c b/games/quake2-3zb2/files/patch-p_client.c
new file mode 100644
index 000000000000..6fc6d9892c61
--- /dev/null
+++ b/games/quake2-3zb2/files/patch-p_client.c
@@ -0,0 +1,27 @@
+--- ./p_client.c.orig Sat Dec 30 19:09:03 2006
++++ ./p_client.c Sat Dec 30 19:09:23 2006
+@@ -388,6 +388,12 @@
+ gi.bprintf (PRINT_MEDIUM,"%s %s %s%s\n", self->client->pers.netname, message, attacker->client->pers.netname, message2);
+ if (deathmatch->value)
+ {
++ if (botchat->value) {
++ if (attacker->client && attacker != self) {
++ bTaunt(attacker, self);
++ bInsult(attacker, self);
++ }
++ }
+ if (ff)
+ attacker->client->resp.score--;
+ else
+@@ -1342,7 +1348,10 @@
+ VectorCopy (spawn_origin, ent->s.origin);
+ ent->s.origin[2] += 1; // make sure off ground
+ VectorCopy (ent->s.origin, ent->s.old_origin);
+-
++ ent->last_insult = level.time;
++ ent->last_taunt = level.time;
++ ent->last_chat = level.time;
++
+ // set the delta angle
+ for (i=0 ; i<3 ; i++)
+ client->ps.pmove.delta_angles[i] = ANGLE2SHORT(spawn_angles[i] - client->resp.cmd_angles[i]);