mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2025-03-21 18:32:08 +00:00
P_ProcessLinedefsAfterSidedefs: Skip text copying in UDMF
This commit is contained in:
parent
69797377c4
commit
73ba288e5d
1 changed files with 3 additions and 2 deletions
|
@ -2048,6 +2048,9 @@ static void P_ProcessLinedefsAfterSidedefs(void)
|
|||
ld->frontsector = sides[ld->sidenum[0]].sector; //e6y: Can't be -1 here
|
||||
ld->backsector = ld->sidenum[1] != 0xffff ? sides[ld->sidenum[1]].sector : 0;
|
||||
|
||||
if (udmf)
|
||||
continue;
|
||||
|
||||
switch (ld->special)
|
||||
{
|
||||
// Compile linedef 'text' from both sidedefs 'text' for appropriate specials.
|
||||
|
@ -2068,8 +2071,6 @@ static void P_ProcessLinedefsAfterSidedefs(void)
|
|||
break;
|
||||
case 447: // Change colormap
|
||||
case 455: // Fade colormap
|
||||
if (udmf)
|
||||
break;
|
||||
if (ld->flags & ML_DONTPEGBOTTOM) // alternate alpha (by texture offsets)
|
||||
{
|
||||
extracolormap_t *exc = R_CopyColormap(sides[ld->sidenum[0]].colormap_data, false);
|
||||
|
|
Loading…
Reference in a new issue