Skip to content

Commit

Permalink
Removed something I already addressed a couple dozen lines down in th…
Browse files Browse the repository at this point in the history
…e code
  • Loading branch information
dashodanger committed Sep 14, 2023
1 parent bbc16fa commit cdd1d82
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions source_files/edge/p_setup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1775,15 +1775,6 @@ static void LoadUDMFSideDefs()
sd->middle.boom_colmap = colourmaps.Lookup(middle_tex);
sd->bottom.boom_colmap = colourmaps.Lookup(bottom_tex);

// Dasho - Not sure if this is right. The binary map loader sets this if the side is part of
// a two-sided linedef, but I don't see a quick or easy way to determine that at this point
// in the UDMF loader
if (sd->middle.image && sd->middle.image->opacity > OPAC_Solid)
{
sd->midmask_offset = sd->middle.offset.y;
sd->middle.offset.y = 0;
}

if (sd->top.image && fabs(sd->top.offset.y) > IM_HEIGHT(sd->top.image))
sd->top.offset.y = fmodf(sd->top.offset.y, IM_HEIGHT(sd->top.image));

Expand Down

0 comments on commit cdd1d82

Please sign in to comment.