Skip to content

Commit 3fdd755

Browse files
author
dashodanger
committed
Fix unwanted scrolling of line 242 windows when uncapped
1 parent 8bfdf4b commit 3fdd755

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source_files/edge/p_spec.cc

+2
Original file line numberDiff line numberDiff line change
@@ -971,7 +971,9 @@ static void SectorEffect(Sector *target, Line *source, const LineType *special)
971971
if (target->ceiling_height - target->floor_height < 1)
972972
{
973973
target->ceiling_height = source->front_sector->ceiling_height;
974+
target->old_ceiling_height = source->front_sector->ceiling_height;
974975
target->floor_height = source->front_sector->floor_height;
976+
target->old_floor_height = source->front_sector->floor_height;
975977
for (int i = 0; i < target->line_count; i++)
976978
{
977979
if (target->lines[i]->side[1])

0 commit comments

Comments
 (0)