Skip to content

Commit

Permalink
Fix RTS MOVE_SECTOR interpolation
Browse files Browse the repository at this point in the history
  • Loading branch information
dashodanger committed Nov 28, 2024
1 parent e5b2881 commit 8bc31f2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions source_files/edge/rad_act.cc
Original file line number Diff line number Diff line change
Expand Up @@ -857,6 +857,11 @@ static void MoveOneSector(Sector *sec, ScriptMoveSectorParameter *t)
return;

SolidSectorMove(sec, t->is_ceiling, dh);

if (t->is_ceiling)
sec->old_ceiling_height = sec->ceiling_height;
else
sec->old_floor_height = sec->floor_height;
}

void ScriptMoveSector(RADScriptTrigger *R, void *param)
Expand Down

0 comments on commit 8bc31f2

Please sign in to comment.