mirror of
https://github.com/nzp-team/quakec.git
synced 2024-11-22 20:01:34 +00:00
SERVER: Fix error when Hounds die off
This commit is contained in:
parent
0a631fb74d
commit
34350827ce
1 changed files with 13 additions and 10 deletions
|
@ -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');
|
||||
|
|
Loading…
Reference in a new issue