mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-13 07:57:52 +00:00
- 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
|
@ -1,3 +1,6 @@
|
||||||
|
September 20, 2006 (Changes by Graf Zahl)
|
||||||
|
- Fixed: Summoned friendly monsters added to the total kill count.
|
||||||
|
|
||||||
September 19, 2006
|
September 19, 2006
|
||||||
- Added a dialog that gives the user the chance to fix things if the config
|
- Added a dialog that gives the user the chance to fix things if the config
|
||||||
could not be saved for some reason.
|
could not be saved for some reason.
|
||||||
|
|
|
@ -2128,6 +2128,10 @@ void Net_DoCommand (int type, BYTE **stream, int player)
|
||||||
source->z + 8 * FRACUNIT, ALLOW_REPLACE);
|
source->z + 8 * FRACUNIT, ALLOW_REPLACE);
|
||||||
if (spawned != NULL && type == DEM_SUMMONFRIEND)
|
if (spawned != NULL && type == DEM_SUMMONFRIEND)
|
||||||
{
|
{
|
||||||
|
if (spawned->CountsAsKill())
|
||||||
|
{
|
||||||
|
level.total_monsters--;
|
||||||
|
}
|
||||||
spawned->FriendPlayer = player + 1;
|
spawned->FriendPlayer = player + 1;
|
||||||
spawned->flags |= MF_FRIENDLY;
|
spawned->flags |= MF_FRIENDLY;
|
||||||
spawned->LastHeard = players[player].mo;
|
spawned->LastHeard = players[player].mo;
|
||||||
|
|
|
@ -348,8 +348,6 @@ struct TGAHeader
|
||||||
|
|
||||||
#pragma pack()
|
#pragma pack()
|
||||||
|
|
||||||
struct TGAHeader;
|
|
||||||
|
|
||||||
class FTGATexture : public FTexture
|
class FTGATexture : public FTexture
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
|
Loading…
Reference in a new issue