mirror of
https://git.code.sf.net/p/quake/game-source
synced 2024-11-24 21:02:06 +00:00
Fixed. Had it doing the loop before I was adding the number it was supposed to
be adding. Oops. Thanks Grievre. Hikaru
This commit is contained in:
parent
9871fa2401
commit
a86c777218
1 changed files with 8 additions and 10 deletions
|
@ -71,15 +71,6 @@ void(entity targ, entity attacker) Killed =
|
|||
|
||||
self.enemy = attacker;
|
||||
|
||||
// bump the monster counter
|
||||
if (self.flags & FL_MONSTER)
|
||||
{
|
||||
while (killed_monsters_oldcount < killed_monsters) {
|
||||
killed_monsters_oldcount++;
|
||||
WriteByte (MSG_ALL, SVC_KILLEDMONSTER);
|
||||
}
|
||||
}
|
||||
|
||||
ClientObituary(self, attacker);
|
||||
|
||||
self.takedamage = DAMAGE_NO;
|
||||
|
@ -87,7 +78,14 @@ void(entity targ, entity attacker) Killed =
|
|||
|
||||
monster_death_use();
|
||||
self.th_die ();
|
||||
|
||||
|
||||
if (self.flags & FL_MONSTER) {
|
||||
while (killed_monsters_oldcount < killed_monsters) {
|
||||
killed_monsters_oldcount++;
|
||||
WriteByte (MSG_ALL, SVC_KILLEDMONSTER);
|
||||
}
|
||||
}
|
||||
|
||||
self = oself;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue