- Fixed: Any kill in multiplayer games that could not be credited to a player
didn't count at all - not even toward the global level statistics. - ...and removed it again. It was not an accident. The only reason the PowerupGiver had its own RespawnTics was to account for the pickup flash delay. But that is better handled by checking the flag and adding the additional 30 tics in AInventory::Hide because then it affects all items that have one - and only those. The AT_GAME_SET function didn't work anyway because it was called after parsing DECORATE. SVN r253 (trunk)
This commit is contained in:
parent
3113037229
commit
1c3153690a
3 changed files with 13 additions and 12 deletions
|
|
@ -394,12 +394,14 @@ void AActor::Die (AActor *source, AActor *inflictor)
|
|||
special = 0;
|
||||
}
|
||||
|
||||
if (CountsAsKill())
|
||||
level.killed_monsters++;
|
||||
|
||||
if (source && source->player)
|
||||
{
|
||||
if (CountsAsKill())
|
||||
{ // count for intermission
|
||||
source->player->killcount++;
|
||||
level.killed_monsters++;
|
||||
}
|
||||
|
||||
// Don't count any frags at level start, because they're just telefrags
|
||||
|
|
@ -543,7 +545,6 @@ void AActor::Die (AActor *source, AActor *inflictor)
|
|||
// count all monster deaths,
|
||||
// even those caused by other monsters
|
||||
players[0].killcount++;
|
||||
level.killed_monsters++;
|
||||
}
|
||||
|
||||
if (player)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue