- Duke: Add some comments to 40ffb23b44 so it can be better fixed in the future when multiplayer is going.

This commit is contained in:
Mitchell Richters 2022-01-13 22:42:48 +11:00
parent 049fc5fb7c
commit 79f47ca2f9
2 changed files with 2 additions and 2 deletions

View file

@ -1867,7 +1867,7 @@ static void movement(int snum, ESyncBits actions, sectortype* psect, int fz, int
p->on_warping_sector = 0;
if ((actions & SB_CROUCH) || crouch_toggle)
if ((actions & SB_CROUCH) || crouch_toggle) // FIXME: The crouch_toggle check here is not network safe and needs revision when multiplayer is going.
{
playerCrouch(snum);
}

View file

@ -2228,7 +2228,7 @@ static void movement(int snum, ESyncBits actions, sectortype* psect, int fz, int
p->on_warping_sector = 0;
if (((actions & SB_CROUCH) || crouch_toggle) && !p->OnMotorcycle)
if (((actions & SB_CROUCH) || crouch_toggle) && !p->OnMotorcycle) // FIXME: The crouch_toggle check here is not network safe and needs revision when multiplayer is going.
{
playerCrouch(snum);
}