mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 07:11:54 +00:00
- fixed: Suicides could count towards multikills (patch by edward850)
SVN r3632 (trunk)
This commit is contained in:
parent
206ffd936f
commit
898232be61
1 changed files with 40 additions and 37 deletions
|
@ -518,6 +518,8 @@ void AActor::Die (AActor *source, AActor *inflictor)
|
|||
}
|
||||
|
||||
// [RH] Multikills
|
||||
if (player != source->player)
|
||||
{
|
||||
source->player->multicount++;
|
||||
if (source->player->lastkilltime > 0)
|
||||
{
|
||||
|
@ -565,6 +567,7 @@ void AActor::Die (AActor *source, AActor *inflictor)
|
|||
}
|
||||
}
|
||||
source->player->lastkilltime = level.time;
|
||||
}
|
||||
|
||||
// [RH] Implement fraglimit
|
||||
if (deathmatch && fraglimit &&
|
||||
|
|
Loading…
Reference in a new issue