SERVER: Fix error when Hounds die off

This commit is contained in:
Steam Deck User 2023-03-09 11:38:52 -05:00
parent 0a631fb74d
commit 34350827ce

View file

@ -987,21 +987,24 @@ void() removeZombie =
setmodel(self.rarm,"");
setmodel(self.head,"");
// Hounds don't gib.
if (self.head) {
#ifdef FTE
remove(self.larm);
remove(self.rarm);
remove(self.head);
remove(self.larm);
remove(self.rarm);
remove(self.head);
#else
updateLimb (self, 0, world);
updateLimb (self, 1, world);
updateLimb (self, 2, world);
#endif // FTE
#ifndef FTE
updateLimb (self, 0, world);
updateLimb (self, 1, world);
updateLimb (self, 2, world);
#endif // FTE
}
setorigin(self,'0 0 0');
setorigin (self.goaldummy, '0 0 0');