- Fixed: Summoned friendly monsters added to the total kill count.

SVN r334 (trunk)
This commit is contained in:
Christoph Oelckers 2006-09-20 08:09:00 +00:00
parent b132575533
commit bbfc149bd7
3 changed files with 7 additions and 2 deletions

View file

@ -1,3 +1,6 @@
September 20, 2006 (Changes by Graf Zahl)
- Fixed: Summoned friendly monsters added to the total kill count.
September 19, 2006
- Added a dialog that gives the user the chance to fix things if the config
could not be saved for some reason.

View file

@ -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;

View file

@ -348,8 +348,6 @@ struct TGAHeader
#pragma pack()
struct TGAHeader;
class FTGATexture : public FTexture
{
public: