]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/physics/player.qc
Implement XDF Compatibility: target_speed
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / physics / player.qc
index e7f88b27becb157837cd186c047ec6d2fb1b3fbd..1c280253d52cbf036ae4c375a1b2a9efe96847d4 100644 (file)
@@ -839,6 +839,9 @@ void CSQC_ClientMovement_PlayerMove_Frame(entity this)
        // needs to be called before physics are run!
        if(IS_REAL_CLIENT(this))
                PM_UpdateButtons(this, CS(this));
+#elif defined(CSQC)
+       if(this.last_pushed && !WarpZoneLib_ExactTrigger_Touch(this.last_pushed, this, false))
+               this.last_pushed = NULL;
 #endif
 
        sys_phys_update(this, PHYS_INPUT_TIMELENGTH);