mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-01-18 07:22:28 +00:00
ifdef this right so it works like before without the define
This commit is contained in:
parent
649455c2d0
commit
e09838224e
1 changed files with 4 additions and 0 deletions
|
@ -3250,7 +3250,11 @@ void R_StoreWallRange(INT32 start, INT32 stop)
|
|||
else if (curline->v1->x == curline->v2->x)
|
||||
rw_distance = (fixed_t)(llabs(viewx - curline->v1->x));
|
||||
// big room fix
|
||||
#ifdef SOFTWARE_USE_FLOATS
|
||||
else if ((curline->length >= 1024<<FRACBITS) || longboi)
|
||||
#else
|
||||
else if (longboi)
|
||||
#endif
|
||||
R_CalculateSegDistance(curline, viewx, viewy, longboi);
|
||||
else
|
||||
rw_distance = FixedMul(hyp, sineval);
|
||||
|
|
Loading…
Reference in a new issue