Merge branch 'maint'
This commit is contained in:
commit
9c2454eacc
3 changed files with 13 additions and 9 deletions
|
|
@ -3997,8 +3997,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