Skip to content

Commit

Permalink
- Duke: Add some comments to 40ffb23 so it can be better fixed in the…
Browse files Browse the repository at this point in the history
… future when multiplayer is going.
  • Loading branch information
mjr4077au committed Jan 13, 2022
1 parent 049fc5f commit 79f47ca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion source/games/duke/src/player_d.cpp
Expand Up @@ -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);
}
Expand Down
2 changes: 1 addition & 1 deletion source/games/duke/src/player_r.cpp
Expand Up @@ -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);
}
Expand Down

0 comments on commit 79f47ca

Please sign in to comment.