diff --git a/extras/conf/SRB2Kart2.cfg b/extras/conf/SRB2Kart2.cfg index c3a49b6b6..57e095c97 100644 --- a/extras/conf/SRB2Kart2.cfg +++ b/extras/conf/SRB2Kart2.cfg @@ -2518,9 +2518,11 @@ linedeftypes title = "Slope Frontside Floor"; prefix = "(700)"; flags2048text = "[11] No physics"; - flags4096text = "[12] Not dynamic"; + flags4096text = "[12] Dynamic"; + flags32768text = "[15] Copy to other side"; slope = "regular"; slopeargs = 1; + copyslopeargs = 1; } 701 @@ -2528,9 +2530,11 @@ linedeftypes title = "Slope Frontside Ceiling"; prefix = "(701)"; flags2048text = "[11] No physics"; - flags4096text = "[12] Not dynamic"; + flags4096text = "[12] Dynamic"; + flags32768text = "[15] Copy to other side"; slope = "regular"; slopeargs = 2; + copyslopeargs = 4; } 702 @@ -2538,9 +2542,11 @@ linedeftypes title = "Slope Frontside Floor and Ceiling"; prefix = "(702)"; flags2048text = "[11] No physics"; - flags4096text = "[12] Not dynamic"; + flags4096text = "[12] Dynamic"; + flags32768text = "[15] Copy to other side"; slope = "regular"; slopeargs = 3; + copyslopeargs = 5; } 703 @@ -2548,9 +2554,11 @@ linedeftypes title = "Slope Frontside Floor and Backside Ceiling"; prefix = "(703)"; flags2048text = "[11] No physics"; - flags4096text = "[12] Not dynamic"; + flags4096text = "[12] Dynamic"; + flags32768text = "[15] Copy to other side"; slope = "regular"; slopeargs = 9; + copyslopeargs = 8; } 704 @@ -2580,9 +2588,11 @@ linedeftypes title = "Slope Backside Floor"; prefix = "(710)"; flags2048text = "[11] No physics"; - flags4096text = "[12] Not dynamic"; + flags4096text = "[12] Dynamic"; + flags32768text = "[15] Copy to other side"; slope = "regular"; slopeargs = 4; + copyslopeargs = 2; } 711 @@ -2590,9 +2600,11 @@ linedeftypes title = "Slope Backside Ceiling"; prefix = "(711)"; flags2048text = "[11] No physics"; - flags4096text = "[12] Not dynamic"; + flags4096text = "[12] Dynamic"; + flags32768text = "[15] Copy to other side"; slope = "regular"; slopeargs = 8; + copyslopeargs = 8; } 712 @@ -2600,9 +2612,11 @@ linedeftypes title = "Slope Backside Floor and Ceiling"; prefix = "(712)"; flags2048text = "[11] No physics"; - flags4096text = "[12] Not dynamic"; + flags4096text = "[12] Dynamic"; + flags32768text = "[15] Copy to other side"; slope = "regular"; slopeargs = 12; + copyslopeargs = 10; } 713 @@ -2610,9 +2624,11 @@ linedeftypes title = "Slope Backside Floor and Frontside Ceiling"; prefix = "(713)"; flags2048text = "[11] No physics"; - flags4096text = "[12] Not dynamic"; + flags4096text = "[12] Dynamic"; + flags32768text = "[15] Copy to other side"; slope = "regular"; slopeargs = 6; + copyslopeargs = 6; } 714 diff --git a/src/p_setup.c b/src/p_setup.c index cbaa962f1..4cda5de6f 100644 --- a/src/p_setup.c +++ b/src/p_setup.c @@ -3317,6 +3317,12 @@ static void P_ConvertBinaryMap(void) if (lines[i].flags & ML_NONET) lines[i].args[2] |= TMSL_DYNAMIC; + if (lines[i].flags & ML_TFERLINE) + { + lines[i].args[4] |= backfloor ? TMSC_BACKTOFRONTFLOOR : (frontfloor ? TMSC_FRONTTOBACKFLOOR : 0); + lines[i].args[4] |= backceil ? TMSC_BACKTOFRONTCEILING : (frontceil ? TMSC_FRONTTOBACKCEILING : 0); + } + lines[i].special = 700; break; } diff --git a/src/p_slopes.c b/src/p_slopes.c index 885987597..8df582851 100644 --- a/src/p_slopes.c +++ b/src/p_slopes.c @@ -758,6 +758,9 @@ void P_SpawnSlopes(const boolean fromsave) { for (i = 0; i < numlines; i++) switch (lines[i].special) { + case 700: + if (lines[i].flags & ML_TFERLINE) P_CopySectorSlope(&lines[i]); + break; case 720: P_CopySectorSlope(&lines[i]); default: