mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-23 03:52:12 -04:00
parent
edff9efc98
commit
5f5e0e7aaf
@ -224,8 +224,12 @@ boolean P_CheckSight(mobj_t *t1, mobj_t *t2)
|
|||||||
//
|
//
|
||||||
// Check in REJECT table.
|
// Check in REJECT table.
|
||||||
|
|
||||||
|
// [FG] fix crash when loading maps without REJECT table
|
||||||
|
if (rejectmatrix)
|
||||||
|
{
|
||||||
if (rejectmatrix[pnum>>3] & (1 << (pnum&7))) // can't possibly be connected
|
if (rejectmatrix[pnum>>3] & (1 << (pnum&7))) // can't possibly be connected
|
||||||
return false;
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// killough 4/19/98: make fake floors and ceilings block monster view
|
// killough 4/19/98: make fake floors and ceilings block monster view
|
||||||
if ((s1->heightsec != -1 &&
|
if ((s1->heightsec != -1 &&
|
||||||
|
Loading…
x
Reference in New Issue
Block a user