mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
ifdef this right so it works like before without the define
This commit is contained in:
parent
016cced4a1
commit
08ab0664f5
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)
|
else if (curline->v1->x == curline->v2->x)
|
||||||
rw_distance = (fixed_t)(llabs(viewx - curline->v1->x));
|
rw_distance = (fixed_t)(llabs(viewx - curline->v1->x));
|
||||||
// big room fix
|
// big room fix
|
||||||
|
#ifdef SOFTWARE_USE_FLOATS
|
||||||
else if ((curline->length >= 1024<<FRACBITS) || longboi)
|
else if ((curline->length >= 1024<<FRACBITS) || longboi)
|
||||||
|
#else
|
||||||
|
else if (longboi)
|
||||||
|
#endif
|
||||||
R_CalculateSegDistance(curline, viewx, viewy, longboi);
|
R_CalculateSegDistance(curline, viewx, viewy, longboi);
|
||||||
else
|
else
|
||||||
rw_distance = FixedMul(hyp, sineval);
|
rw_distance = FixedMul(hyp, sineval);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue