Skip to content

Commit

Permalink
Tag sector for friction / movefactor calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
kraflab committed Oct 6, 2023
1 parent eeb096e commit 06ccbda
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions prboom2/src/p_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -1021,6 +1021,7 @@ static void P_LoadUDMFSectors(int lump)
if (ms->movefactor)
{
ss->movefactor = dsda_StringToFixed(ms->movefactor);
ss->flags |= SECF_FRICTION;
}

ss->damage.amount = ms->damageamount;
Expand Down

0 comments on commit 06ccbda

Please sign in to comment.