mirror of
https://github.com/YGGverse/hlsdk-portable.git
synced 2025-02-06 20:14:44 +00:00
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…
x
Reference in New Issue
Block a user