mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-18 15:11:46 +00:00
- fixed: The line ID arg of Plane_Align was not handled in the wrong place. It was also missing from actionspecials.h and the UDMF spec.
SVN r2138 (trunk)
This commit is contained in:
parent
5125e11d25
commit
3f140c0549
4 changed files with 7 additions and 3 deletions
|
@ -192,6 +192,7 @@ Note: All <bool> fields default to false unless mentioned otherwise.
|
|||
208: TranslucentLine, arg0 (arg0 must be preserved)
|
||||
1: Polyobj_StartLine, arg3
|
||||
5: Polyobj_ExplicitLine, arg4
|
||||
181: Plane_Align, arg2
|
||||
215: Teleport_Line, arg0
|
||||
222: Scroll_Texture_Model, arg0 (arg0 must be preserved)
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@ DEFINE_SPECIAL(Thing_Hate, 177, 2, 3, 3)
|
|||
DEFINE_SPECIAL(Thing_ProjectileAimed, 178, 4, 5, 5)
|
||||
DEFINE_SPECIAL(ChangeSkill, 179, 1, 1, 1)
|
||||
DEFINE_SPECIAL(Thing_SetTranslation, 180, 2, 2, 2)
|
||||
DEFINE_SPECIAL(Plane_Align, 181, -1, -1, 2)
|
||||
DEFINE_SPECIAL(Plane_Align, 181, -1, -1, 3)
|
||||
DEFINE_SPECIAL(Line_Mirror, 182, -1, 0, 0)
|
||||
DEFINE_SPECIAL(Line_AlignCeiling, 183, 2, 2, 2)
|
||||
DEFINE_SPECIAL(Line_AlignFloor, 184, 2, 2, 2)
|
||||
|
|
|
@ -1702,7 +1702,11 @@ void P_SetLineID (line_t *ld)
|
|||
case Polyobj_ExplicitLine:
|
||||
ld->id = ld->args[4];
|
||||
break;
|
||||
|
||||
|
||||
case Plane_Align:
|
||||
ld->id = ld->args[2];
|
||||
break;
|
||||
|
||||
case Static_Init:
|
||||
if (ld->args[1] == Init_SectorLink) ld->id = ld->args[0];
|
||||
break;
|
||||
|
|
|
@ -548,7 +548,6 @@ void P_SetSlopes ()
|
|||
if (lines[i].special == Plane_Align)
|
||||
{
|
||||
lines[i].special = 0;
|
||||
lines[i].id = lines[i].args[2];
|
||||
if (lines[i].backsector != NULL)
|
||||
{
|
||||
// args[0] is for floor, args[1] is for ceiling
|
||||
|
|
Loading…
Reference in a new issue