- Fixed: Summoned friendly monsters added to the total kill count.
SVN r334 (trunk)
This commit is contained in:
parent
b132575533
commit
bbfc149bd7
3 changed files with 7 additions and 2 deletions
|
|
@ -2128,6 +2128,10 @@ void Net_DoCommand (int type, BYTE **stream, int player)
|
|||
source->z + 8 * FRACUNIT, ALLOW_REPLACE);
|
||||
if (spawned != NULL && type == DEM_SUMMONFRIEND)
|
||||
{
|
||||
if (spawned->CountsAsKill())
|
||||
{
|
||||
level.total_monsters--;
|
||||
}
|
||||
spawned->FriendPlayer = player + 1;
|
||||
spawned->flags |= MF_FRIENDLY;
|
||||
spawned->LastHeard = players[player].mo;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue