From b3ba69216f9cf9cac8a1a8a18de1d6ccaf2f64f0 Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Sat, 7 Sep 2002 23:55:26 +0000 Subject: [PATCH] fix the 'can't move after respawn' bug --- client.qc | 2 ++ defs.qc | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/client.qc b/client.qc index 6bfb49c..aa654f6 100644 --- a/client.qc +++ b/client.qc @@ -1378,6 +1378,7 @@ void() respawn = setspawnparms (self); // respawn PutClientInServer (); + TeamFortress_SetSpeed (self); } else if (deathmatch) { @@ -1387,6 +1388,7 @@ void() respawn = SetNewParms (); // respawn PutClientInServer (); + TeamFortress_SetSpeed (self); } else { // restart the entire server diff --git a/defs.qc b/defs.qc index b4d8c2a..839fca0 100644 --- a/defs.qc +++ b/defs.qc @@ -434,7 +434,7 @@ void(entity e, vector o) setorigin = #2; void(entity e, string m) setmodel = #3; // set movetype and solid first void(entity e, vector min, vector max) setsize = #4; // #5 was removed -//void() break = #6; no longer parses in qfcc and not needed +void() Break = #6; float() random = #7; // returns 0 - 1 void(entity e, float chan, string samp, float vol, float atten) sound = #8; vector(vector v) normalize = #9;