mirror of https://github.com/FWGS/hlsdk-xash3d
Remove annoying EF_BRIGHTFIELD on blocked monsters
This commit is contained in:
parent
342d297ba2
commit
0559268c43
|
@ -2091,7 +2091,9 @@ void CBaseMonster :: StartMonster ( void )
|
||||||
if (!WALK_MOVE ( ENT(pev), 0, 0, WALKMOVE_NORMAL ) )
|
if (!WALK_MOVE ( ENT(pev), 0, 0, WALKMOVE_NORMAL ) )
|
||||||
{
|
{
|
||||||
ALERT(at_error, "Monster %s stuck in wall--level design error\n", STRING(pev->classname));
|
ALERT(at_error, "Monster %s stuck in wall--level design error\n", STRING(pev->classname));
|
||||||
|
#ifdef _DEBUG
|
||||||
pev->effects = EF_BRIGHTFIELD;
|
pev->effects = EF_BRIGHTFIELD;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue