From d41110d5bc2e5ee4394e3d3af65442891286c584 Mon Sep 17 00:00:00 2001 From: Mario Date: Thu, 2 Jan 2020 23:04:06 +1000 Subject: [PATCH] Don't use the IS_DEAD macro in CSQC Player code (not defined in lib) --- qcsrc/lib/csqcmodel/cl_player.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qcsrc/lib/csqcmodel/cl_player.qc b/qcsrc/lib/csqcmodel/cl_player.qc index 4d41cd316..f49c5f6db 100644 --- a/qcsrc/lib/csqcmodel/cl_player.qc +++ b/qcsrc/lib/csqcmodel/cl_player.qc @@ -240,7 +240,7 @@ bool autocvar_v_deathtilt; float autocvar_v_deathtiltangle; void CSQCPlayer_ApplyDeathTilt(entity this) { - if(!IS_DEAD(this) || !autocvar_v_deathtilt) + if(!this.csqcmodel_isdead || !autocvar_v_deathtilt) return; view_angles.z = autocvar_v_deathtiltangle; } @@ -279,7 +279,7 @@ float bobfall_speed; float bob2_smooth; vector CSQCPlayer_ApplyBobbing(entity this, vector v) { - if(IS_DEAD(this)) + if(this.csqcmodel_isdead) return v; // bounded XY speed, used by several effects below -- 2.39.2