Invisibility would could P_LookForPlayers early

This commit is contained in:
Edward Richardson 2014-04-17 01:13:18 +12:00
parent d855bd66b3
commit 897d87a6a3

View file

@ -1693,11 +1693,11 @@ bool P_LookForPlayers (AActor *actor, INTBOOL allaround, FLookExParams *params)
&& P_AproxDistance (player->mo->velx, player->mo->vely)
< 5*FRACUNIT)
{ // Player is sneaking - can't detect
return false;
continue;
}
if (pr_lookforplayers() < 225)
{ // Player isn't sneaking, but still didn't detect
return false;
continue;
}
}
}