mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-02 22:22:55 +00:00
Another bugfix
This commit is contained in:
parent
e0dea69237
commit
73554c09dd
1 changed files with 1 additions and 1 deletions
|
|
@ -9927,7 +9927,7 @@ static mobj_t *P_LookForRails(mobj_t* mobj, fixed_t c, fixed_t s, angle_t target
|
||||||
mobj_t *snax = P_GetAxis(sides[lines[lline].sidenum[0]].textureoffset >> FRACBITS);
|
mobj_t *snax = P_GetAxis(sides[lines[lline].sidenum[0]].textureoffset >> FRACBITS);
|
||||||
if (!snax)
|
if (!snax)
|
||||||
return NULL;
|
return NULL;
|
||||||
P_GetAxisPosition(x, y, snax, &ny, &nx, &nang, &dummy);
|
P_GetAxisPosition(x, y, snax, &nx, &ny, &nang, &dummy);
|
||||||
angdiff = nang - targetangle;
|
angdiff = nang - targetangle;
|
||||||
if (angdiff < ANG10/2 || angdiff > ANGLE_MAX - ANG10/2)
|
if (angdiff < ANG10/2 || angdiff > ANGLE_MAX - ANG10/2)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue