From 96cd0931d16eaf2d2fef0b0ec3acbbeee1dffc7e Mon Sep 17 00:00:00 2001 From: Tyler Young Date: Tue, 27 Dec 2022 22:34:32 -0500 Subject: [PATCH 1/2] Fixing again --- source/server/main.qc | 2 +- source/server/weapons/weapon_core.qc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/source/server/main.qc b/source/server/main.qc index d048381..70651c9 100644 --- a/source/server/main.qc +++ b/source/server/main.qc @@ -165,7 +165,7 @@ void() precaches = precache_model ("models/ai/zbc#.mdl"); precache_model ("models/ai/zalc(.mdl"); precache_model ("models/ai/zarc(.mdl"); - precache_model ("models/ai/zch^.mdl"); + precache_model ("models/ai/zhc^.mdl"); // powerups precache_model ("models/sprites/explosion.spr"); diff --git a/source/server/weapons/weapon_core.qc b/source/server/weapons/weapon_core.qc index 9285872..58bb11d 100644 --- a/source/server/weapons/weapon_core.qc +++ b/source/server/weapons/weapon_core.qc @@ -747,7 +747,7 @@ void Parse_Damage () = // DO NOT TOUCH body_ent.larm.solid = SOLID_NOT; setmodel(body_ent.larm,""); body_ent.larm.frame = 0; - updateLimb (body_ent.larm.owner, 1, world); + //updateLimb (body_ent.larm.owner, 1, world); } body_ent.larm.washit = 0; @@ -767,7 +767,7 @@ void Parse_Damage () = // DO NOT TOUCH body_ent.rarm.solid = SOLID_NOT; setmodel(body_ent.rarm,""); body_ent.rarm.frame = 0; - updateLimb (body_ent.rarm.owner, 2, world); + //updateLimb (body_ent.rarm.owner, 2, world); } body_ent.rarm.washit = 0; From c52c16f9b70b262304368b88cdc048a70c67324d Mon Sep 17 00:00:00 2001 From: Tyler Young Date: Tue, 27 Dec 2022 23:15:29 -0500 Subject: [PATCH 2/2] Fixing updateLimb AGAIN just works now --- source/server/weapons/weapon_core.qc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/server/weapons/weapon_core.qc b/source/server/weapons/weapon_core.qc index ba263df..c134457 100644 --- a/source/server/weapons/weapon_core.qc +++ b/source/server/weapons/weapon_core.qc @@ -726,6 +726,7 @@ void Parse_Damage () = // DO NOT TOUCH body_ent.usedent = self; body_ent.bleedingtime = time + 2; + updateLimb (body_ent.head.owner, 0, world); } } @@ -747,7 +748,7 @@ void Parse_Damage () = // DO NOT TOUCH body_ent.larm.solid = SOLID_NOT; setmodel(body_ent.larm,""); body_ent.larm.frame = 0; - //updateLimb (body_ent.larm.owner, 1, world); + updateLimb (body_ent.larm.owner, 1, world); } body_ent.larm.washit = 0; @@ -767,7 +768,7 @@ void Parse_Damage () = // DO NOT TOUCH body_ent.rarm.solid = SOLID_NOT; setmodel(body_ent.rarm,""); body_ent.rarm.frame = 0; - //updateLimb (body_ent.rarm.owner, 2, world); + updateLimb (body_ent.rarm.owner, 2, world); } body_ent.rarm.washit = 0;