Merge branch 'master' into scripting
Conflicts: src/g_shared/a_randomspawner.cpp src/g_strife/a_strifeweapons.cpp src/thingdef/thingdef_parse.cpp wadsrc/static/actors/constants.txt
This commit is contained in:
commit
251cdacf26
30 changed files with 168 additions and 57 deletions
|
|
@ -4105,8 +4105,12 @@ void AActor::HandleSpawnFlags ()
|
|||
}
|
||||
if (SpawnFlags & MTF_SECRET)
|
||||
{
|
||||
//Printf("Secret %s in sector %i!\n", GetTag(), Sector->sectornum);
|
||||
flags5 |= MF5_COUNTSECRET;
|
||||
if (!(flags5 & MF5_COUNTSECRET))
|
||||
{
|
||||
//Printf("Secret %s in sector %i!\n", GetTag(), Sector->sectornum);
|
||||
flags5 |= MF5_COUNTSECRET;
|
||||
level.total_secrets++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue