]> git.rm.cloudns.org Git - voretournament/voretournament.git/commitdiff
Some multijump code I forgot
authorMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 14 Apr 2011 11:21:39 +0000 (14:21 +0300)
committerMirceaKitsune <sonichedgehog_hyperblast00@yahoo.com>
Thu, 14 Apr 2011 11:21:39 +0000 (14:21 +0300)
data/qcsrc/server/t_teleporters.qc

index ebfd390a007d46b4ee5ce150e06ff8fba5d5f110..07159e4c2fe59fcae461f4b268be9c8a9a67b071 100644 (file)
@@ -308,5 +308,7 @@ void WarpZone_PostTeleportPlayer_Callback(entity pl)
        {\r
                // reset tracking of oldvelocity for impact damage (sudden velocity changes)\r
                pl.oldvelocity = pl.velocity;\r
+               // reset teleport time tracking too (or multijump can cause insane speeds)\r
+               pl.lastteleporttime = time;\r
        }\r
 }\r