Put line ID from args[1] for Hexen maps

This commit is contained in:
ZZYZX 2014-12-16 18:13:20 +02:00
parent 2df45598d8
commit cac266b5df

View file

@ -1956,6 +1956,11 @@ void P_SetLineID (line_t *ld)
case Static_Init:
if (ld->args[1] == Init_SectorLink) ld->id = ld->args[0];
break;
case Line_SetPortal:
case Line_SetVisualPortal:
ld->id = ld->args[1]; // 0 = target id, 1 = this id, 2 = plane anchor
break;
}
}
}