Merge pull request #13 from ScatterBox/main

Add definitions for handling updateLimb in Quakespasm
This commit is contained in:
Ian 2022-12-31 19:28:09 -05:00 committed by GitHub
commit a68efc555b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -726,7 +726,7 @@ 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 PC #ifdef HANDHELD
updateLimb (body_ent.head.owner, 0, world); updateLimb (body_ent.head.owner, 0, world);
#endif #endif
} }
@ -750,7 +750,7 @@ 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 PC #ifdef HANDHELD
updateLimb (body_ent.larm.owner, 1, world); updateLimb (body_ent.larm.owner, 1, world);
#endif #endif
} }
@ -772,7 +772,7 @@ 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 PC #ifdef HANDHELD
updateLimb (body_ent.rarm.owner, 2, world); updateLimb (body_ent.rarm.owner, 2, world);
#endif #endif
} }