diff --git a/source/server/ai/crawler_core.qc b/source/server/ai/crawler_core.qc index e7ccf9c..58e4d93 100644 --- a/source/server/ai/crawler_core.qc +++ b/source/server/ai/crawler_core.qc @@ -250,21 +250,21 @@ void(entity who) makeCrawler = setmodel(who.head,"models/ai/zhc^.mdl"); #ifndef PC updateLimb (who, 0, world); - #endif +#endif // PC } if(who.larm.deadflag) { setmodel(who.larm,"models/ai/zalc(.mdl"); #ifndef PC updateLimb (who, 1, world); - #endif +#endif // PC } if(who.rarm.deadflag) { setmodel(who.rarm,"models/ai/zarc(.mdl"); #ifndef PC updateLimb (who, 2, world); - #endif +#endif // PC } who.crawling = 1; diff --git a/source/server/player.qc b/source/server/player.qc index f3d06f7..f267a4d 100644 --- a/source/server/player.qc +++ b/source/server/player.qc @@ -435,7 +435,15 @@ void() PlayerPostThink = makevectors (self.v_angle); source = self.origin + self.view_ofs; + +#ifdef PC + self.dimension_hit = HITBOX_DIM_LIMBS | HITBOX_DIM_ZOMBIES; +#endif // PC traceline (source, source + v_forward*800*1.2, 0, self); +#ifdef PC + self.dimension_hit = HITBOX_DIM_ZOMBIES; +#endif // PC + // use .head here to avoid expanding ent struct self.head = trace_ent; diff --git a/source/server/weapons/weapon_core.qc b/source/server/weapons/weapon_core.qc index d731e50..dc1193f 100644 --- a/source/server/weapons/weapon_core.qc +++ b/source/server/weapons/weapon_core.qc @@ -1168,7 +1168,14 @@ void() W_FireTesla = makevectors (self.v_angle); source = self.origin + self.view_ofs; +#ifdef PC + self.dimension_hit = HITBOX_DIM_LIMBS | HITBOX_DIM_ZOMBIES; +#endif // PC FireTrace(1, 0, 0, 0); +#ifdef PC + self.dimension_hit = HITBOX_DIM_ZOMBIES; +#endif // PC + #ifdef PC te_lightning2(self, source, trace_endpos); @@ -1452,7 +1459,7 @@ void(float side) W_Fire = if (Util_WeaponFiresTraceshot(self.weapon)) { #ifdef PC self.dimension_hit = HITBOX_DIM_LIMBS | HITBOX_DIM_ZOMBIES; -#endif // PC +#endif FireTrace(shotcount, spread, damage, side); #ifdef PC self.dimension_hit = HITBOX_DIM_ZOMBIES;