mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-10-30 08:01:28 +00:00
Subtract texture angle from speedpad TERRAIN
This commit is contained in:
parent
4851b8e697
commit
0fba68f4ba
1 changed files with 4 additions and 4 deletions
|
|
@ -517,22 +517,22 @@ void K_ProcessTerrainEffect(mobj_t *mo)
|
||||||
{
|
{
|
||||||
if (player->mo->ceilingrover != NULL)
|
if (player->mo->ceilingrover != NULL)
|
||||||
{
|
{
|
||||||
thrustAngle += *player->mo->ceilingrover->bottomangle;
|
thrustAngle -= *player->mo->ceilingrover->bottomangle;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
thrustAngle += player->mo->subsector->sector->ceilingpic_angle;
|
thrustAngle -= player->mo->subsector->sector->ceilingpic_angle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
if (player->mo->floorrover != NULL)
|
if (player->mo->floorrover != NULL)
|
||||||
{
|
{
|
||||||
thrustAngle += *player->mo->floorrover->topangle;
|
thrustAngle -= *player->mo->floorrover->topangle;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
thrustAngle += player->mo->subsector->sector->floorpic_angle;
|
thrustAngle -= player->mo->subsector->sector->floorpic_angle;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue