mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 12:31:54 +00:00
UDMF conversion: Fix noclimb flag not being applied to linedef types 66-68
This commit is contained in:
parent
12717c7a6c
commit
11d9ba1cec
1 changed files with 2 additions and 0 deletions
|
|
@ -4115,6 +4115,8 @@ static void P_ConvertBinaryLinedefTypes(void)
|
||||||
lines[i].args[0] = tag;
|
lines[i].args[0] = tag;
|
||||||
lines[i].args[1] = lines[i].special - 66;
|
lines[i].args[1] = lines[i].special - 66;
|
||||||
lines[i].args[2] = P_AproxDistance(lines[i].dx, lines[i].dy) >> FRACBITS;
|
lines[i].args[2] = P_AproxDistance(lines[i].dx, lines[i].dy) >> FRACBITS;
|
||||||
|
if (lines[i].flags & ML_NOCLIMB)
|
||||||
|
lines[i].args[2] *= -1;
|
||||||
lines[i].special = 66;
|
lines[i].special = 66;
|
||||||
break;
|
break;
|
||||||
case 76: //Make FOF bouncy
|
case 76: //Make FOF bouncy
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue