- fixed the sound location calculations which got somewhat broken by the constant changes during the conversion.
This commit is contained in:
parent
8f5ac9b73f
commit
6445615b5d
15 changed files with 131 additions and 157 deletions
|
|
@ -375,8 +375,8 @@ bool SightCheck::P_SightCheckLine (line_t *ld)
|
|||
return true;
|
||||
}
|
||||
ld->validcount = validcount;
|
||||
if (P_PointOnDivlineSide (ld->V1(), &Trace) ==
|
||||
P_PointOnDivlineSide (ld->V2(), &Trace))
|
||||
if (P_PointOnDivlineSide (ld->v1->fPos(), &Trace) ==
|
||||
P_PointOnDivlineSide (ld->v2->fPos(), &Trace))
|
||||
{
|
||||
return true; // line isn't crossed
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue