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:
Timothy C. McGrath 2004-02-14 11:41:28 +00:00
parent 9871fa2401
commit a86c777218

View file

@ -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;
@ -88,6 +79,13 @@ 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;
};