diff --git a/source/games/duke/src/player_d.cpp b/source/games/duke/src/player_d.cpp index 7c2619da1..663b23aa7 100644 --- a/source/games/duke/src/player_d.cpp +++ b/source/games/duke/src/player_d.cpp @@ -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); } diff --git a/source/games/duke/src/player_r.cpp b/source/games/duke/src/player_r.cpp index 4b2428207..fd260e7d4 100644 --- a/source/games/duke/src/player_r.cpp +++ b/source/games/duke/src/player_r.cpp @@ -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); }