From 10e185a6e329b70d51ce9ac5bef940cfc4c36d01 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 23 Jan 2013 04:11:19 +0000 Subject: [PATCH] - Retain the Scroll_Texture_(Left|Right|Up|Down) specials on lines for the sake of compat_useblocking. This is not going to be extended to all specials that spawn a thinker at load time, because some of them can be placed on a line later using SetLineSpecial and used directly. SVN r4037 (trunk) --- src/p_spec.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/p_spec.cpp b/src/p_spec.cpp index e27e49df0d..3eb6c422af 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -1837,24 +1837,28 @@ static void P_SpawnScrollers(void) break; case Scroll_Texture_Left: + l->special = special; // Restore the special, for compat_useblocking's benefit. s = int(lines[i].sidedef[0] - sides); new DScroller (DScroller::sc_side, l->args[0] * (FRACUNIT/64), 0, -1, s, accel, SCROLLTYPE(l->args[1])); break; case Scroll_Texture_Right: + l->special = special; s = int(lines[i].sidedef[0] - sides); new DScroller (DScroller::sc_side, l->args[0] * (-FRACUNIT/64), 0, -1, s, accel, SCROLLTYPE(l->args[1])); break; case Scroll_Texture_Up: + l->special = special; s = int(lines[i].sidedef[0] - sides); new DScroller (DScroller::sc_side, 0, l->args[0] * (FRACUNIT/64), -1, s, accel, SCROLLTYPE(l->args[1])); break; case Scroll_Texture_Down: + l->special = special; s = int(lines[i].sidedef[0] - sides); new DScroller (DScroller::sc_side, 0, l->args[0] * (-FRACUNIT/64), -1, s, accel, SCROLLTYPE(l->args[1]));