mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-02-01 22:21:05 +00:00
Merge branch 'udmf-plane-displacement-fix' into 'next'
UDMF conversion: Fix noclimb flag not being applied to linedef types 66-68 Closes #868 See merge request STJr/SRB2!1790
This commit is contained in:
commit
af8bc3af7e
1 changed files with 2 additions and 0 deletions
|
@ -4248,6 +4248,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…
Reference in a new issue