- fixed: Suicides could count towards multikills (patch by edward850)

SVN r3632 (trunk)
This commit is contained in:
Christoph Oelckers 2012-05-08 12:27:01 +00:00
parent 206ffd936f
commit 898232be61
1 changed files with 40 additions and 37 deletions

View File

@ -518,6 +518,8 @@ void AActor::Die (AActor *source, AActor *inflictor)
} }
// [RH] Multikills // [RH] Multikills
if (player != source->player)
{
source->player->multicount++; source->player->multicount++;
if (source->player->lastkilltime > 0) if (source->player->lastkilltime > 0)
{ {
@ -565,6 +567,7 @@ void AActor::Die (AActor *source, AActor *inflictor)
} }
} }
source->player->lastkilltime = level.time; source->player->lastkilltime = level.time;
}
// [RH] Implement fraglimit // [RH] Implement fraglimit
if (deathmatch && fraglimit && if (deathmatch && fraglimit &&