mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-29 15:22:29 +00:00
Add definitions for handling updateLimb in Quakespasm
as it says
This commit is contained in:
parent
c52c16f9b7
commit
aa35a1063b
2 changed files with 9 additions and 3 deletions
|
@ -248,17 +248,17 @@ void(entity who) makeCrawler =
|
||||||
if(who.head.deadflag)
|
if(who.head.deadflag)
|
||||||
{
|
{
|
||||||
setmodel(who.head,"models/ai/zhc^.mdl");
|
setmodel(who.head,"models/ai/zhc^.mdl");
|
||||||
updateLimb (who, 0, world);
|
//updateLimb (who, 0, world);
|
||||||
}
|
}
|
||||||
if(who.larm.deadflag)
|
if(who.larm.deadflag)
|
||||||
{
|
{
|
||||||
setmodel(who.larm,"models/ai/zalc(.mdl");
|
setmodel(who.larm,"models/ai/zalc(.mdl");
|
||||||
updateLimb (who, 1, world);
|
//updateLimb (who, 1, world);
|
||||||
}
|
}
|
||||||
if(who.rarm.deadflag)
|
if(who.rarm.deadflag)
|
||||||
{
|
{
|
||||||
setmodel(who.rarm,"models/ai/zarc(.mdl");
|
setmodel(who.rarm,"models/ai/zarc(.mdl");
|
||||||
updateLimb (who, 2, world);
|
//updateLimb (who, 2, world);
|
||||||
}
|
}
|
||||||
who.crawling = 1;
|
who.crawling = 1;
|
||||||
|
|
||||||
|
|
|
@ -726,7 +726,9 @@ void Parse_Damage () = // DO NOT TOUCH
|
||||||
|
|
||||||
body_ent.usedent = self;
|
body_ent.usedent = self;
|
||||||
body_ent.bleedingtime = time + 2;
|
body_ent.bleedingtime = time + 2;
|
||||||
|
#ifndef NX
|
||||||
updateLimb (body_ent.head.owner, 0, world);
|
updateLimb (body_ent.head.owner, 0, world);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -748,7 +750,9 @@ void Parse_Damage () = // DO NOT TOUCH
|
||||||
body_ent.larm.solid = SOLID_NOT;
|
body_ent.larm.solid = SOLID_NOT;
|
||||||
setmodel(body_ent.larm,"");
|
setmodel(body_ent.larm,"");
|
||||||
body_ent.larm.frame = 0;
|
body_ent.larm.frame = 0;
|
||||||
|
#ifndef NX
|
||||||
updateLimb (body_ent.larm.owner, 1, world);
|
updateLimb (body_ent.larm.owner, 1, world);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
body_ent.larm.washit = 0;
|
body_ent.larm.washit = 0;
|
||||||
|
@ -768,7 +772,9 @@ void Parse_Damage () = // DO NOT TOUCH
|
||||||
body_ent.rarm.solid = SOLID_NOT;
|
body_ent.rarm.solid = SOLID_NOT;
|
||||||
setmodel(body_ent.rarm,"");
|
setmodel(body_ent.rarm,"");
|
||||||
body_ent.rarm.frame = 0;
|
body_ent.rarm.frame = 0;
|
||||||
|
#ifndef NX
|
||||||
updateLimb (body_ent.rarm.owner, 2, world);
|
updateLimb (body_ent.rarm.owner, 2, world);
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
body_ent.rarm.washit = 0;
|
body_ent.rarm.washit = 0;
|
||||||
|
|
Loading…
Reference in a new issue