From: MirceaKitsune Date: Thu, 14 Apr 2011 11:21:39 +0000 (+0300) Subject: Some multijump code I forgot X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=954d54b3959682057878a20be97e8640af86f90e;p=voretournament%2Fvoretournament.git Some multijump code I forgot --- diff --git a/data/qcsrc/server/t_teleporters.qc b/data/qcsrc/server/t_teleporters.qc index ebfd390a..07159e4c 100644 --- a/data/qcsrc/server/t_teleporters.qc +++ b/data/qcsrc/server/t_teleporters.qc @@ -308,5 +308,7 @@ void WarpZone_PostTeleportPlayer_Callback(entity pl) { // reset tracking of oldvelocity for impact damage (sudden velocity changes) pl.oldvelocity = pl.velocity; + // reset teleport time tracking too (or multijump can cause insane speeds) + pl.lastteleporttime = time; } }