Skip to content

Commit

Permalink
Fix unwanted scrolling of line 242 windows when uncapped
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Nov 20, 2024
1 parent 8bfdf4b commit 3fdd755
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source_files/edge/p_spec.cc
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,9 @@ static void SectorEffect(Sector *target, Line *source, const LineType *special)
if (target->ceiling_height - target->floor_height < 1)
{
target->ceiling_height = source->front_sector->ceiling_height;
target->old_ceiling_height = source->front_sector->ceiling_height;
target->floor_height = source->front_sector->floor_height;
target->old_floor_height = source->front_sector->floor_height;
for (int i = 0; i < target->line_count; i++)
{
if (target->lines[i]->side[1])
Expand Down

0 comments on commit 3fdd755

Please sign in to comment.