From 50bef5e0fcc9ffcb6693780b1ed6581a88e177f8 Mon Sep 17 00:00:00 2001 From: Mario Date: Tue, 20 Dec 2016 11:10:53 +1000 Subject: [PATCH] Predict jetpack effect and sound (yay for perfectly predicted jetpacks) --- qcsrc/common/physics/player.qc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/qcsrc/common/physics/player.qc b/qcsrc/common/physics/player.qc index 2645415227..6e6dd9fb01 100644 --- a/qcsrc/common/physics/player.qc +++ b/qcsrc/common/physics/player.qc @@ -803,5 +803,10 @@ void CSQC_ClientMovement_PlayerMove_Frame(entity this) #ifdef SVQC this.pm_frametime = frametime; +#elif defined(CSQC) + if((ITEMS_STAT(this) & IT_USING_JETPACK) && !IS_DEAD(this) && !intermission) + this.csqcmodel_modelflags |= MF_ROCKET; + else + this.csqcmodel_modelflags &= ~MF_ROCKET; #endif } -- 2.39.2