]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Almost fix ladder prediction (entering and idle are still iffy)
authorMario <zacjardine@y7mail.com>
Fri, 12 Dec 2014 00:13:01 +0000 (11:13 +1100)
committerMario <zacjardine@y7mail.com>
Fri, 12 Dec 2014 00:13:01 +0000 (11:13 +1100)
qcsrc/server/t_halflife.qc

index 2134a037249a812b74d748244c59a595eb27ef51..a6ff64cd56d57f508ed4cbc9679a290f899d44f7 100644 (file)
@@ -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;