Don't use InPlayerFOV for anything that affects gameplay
This commit is contained in:
parent
92a6e8302e
commit
8a04ef9074
3 changed files with 7 additions and 3 deletions
|
|
@ -393,6 +393,7 @@ extend Class SWWMUtility
|
|||
return true, ov0, ov1;
|
||||
}
|
||||
|
||||
// this check is dependent on the screen aspect ratio, so use only for non-interactive effects
|
||||
static play bool InPlayerFOV( PlayerInfo p, Actor a, double maxdist = 0. )
|
||||
{
|
||||
double vfov = p.fov*.5;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue