- Added a check to P_CheckMissileSpawn to decrease the monster counter

if it was called for spawning a monster with A_CustomMissile.
- Added a ML_BLOCK_PLAYERS line flag.


SVN r380 (trunk)
This commit is contained in:
Christoph Oelckers 2006-11-10 12:13:37 +00:00
commit f6f15ba764
8 changed files with 33 additions and 10 deletions

View file

@ -52,7 +52,7 @@ static bool PTR_Reachable (intercept_t *in)
{
line = in->d.line;
if (!(line->flags & ML_TWOSIDED) || (line->flags & ML_BLOCKING))
if (!(line->flags & ML_TWOSIDED) || (line->flags & (ML_BLOCKING|ML_BLOCKEVERYTHING|ML_BLOCK_PLAYERS)))
{
return (reachable = false); //Cannot continue.
}