mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Don't sight check through transparent FOFs
Maybe this should be a option somehow, like a distinction between "sight" and "ray-tracing", but I'm not sure how to go about that
This commit is contained in:
parent
04b443d58c
commit
f068539bad
1 changed files with 1 additions and 1 deletions
|
|
@ -484,7 +484,7 @@ boolean P_CheckSight(mobj_t *t1, mobj_t *t2)
|
||||||
/// \todo Improve by checking fog density/translucency
|
/// \todo Improve by checking fog density/translucency
|
||||||
/// and setting a sight limit.
|
/// and setting a sight limit.
|
||||||
if (!(rover->flags & FF_EXISTS)
|
if (!(rover->flags & FF_EXISTS)
|
||||||
|| !(rover->flags & FF_RENDERPLANES) || rover->flags & FF_TRANSLUCENT)
|
|| !(rover->flags & FF_RENDERPLANES) /*|| (rover->flags & FF_TRANSLUCENT)*/)
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue