From: Mario Date: Fri, 12 Dec 2014 00:13:01 +0000 (+1100) Subject: Almost fix ladder prediction (entering and idle are still iffy) X-Git-Tag: xonotic-v0.8.1~38^2~73 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a9482df401721e33fbdc5ff623a6668f296562c7;p=xonotic%2Fxonotic-data.pk3dir.git Almost fix ladder prediction (entering and idle are still iffy) --- diff --git a/qcsrc/server/t_halflife.qc b/qcsrc/server/t_halflife.qc index 2134a0372..a6ff64cd5 100644 --- a/qcsrc/server/t_halflife.qc +++ b/qcsrc/server/t_halflife.qc @@ -53,10 +53,6 @@ void func_ladder_touch() EXACTTRIGGER_TOUCH; -#ifdef CSQC - print("Setting ladder time on ", other.classname, "\n"); -#endif - other.ladder_time = time + 0.1; other.ladder_entity = self; } @@ -95,9 +91,7 @@ float func_ladder_send(entity to, float sf) void func_ladder_link() { - self.nextthink = time; Net_LinkEntity(self, FALSE, 0, func_ladder_send); - self.nextthink = 0; } void spawnfunc_func_ladder() @@ -123,7 +117,7 @@ void func_ladder_draw() { tracebox(self.origin, self.mins, self.maxs, self.origin, MOVE_NORMAL, self); - if(trace_fraction < 1) + //if(trace_fraction < 1) if(trace_ent) { other = trace_ent;