820 {
821 int mask = 0;
822 if ( player.GetCommand_Vehicle() )
823 {
825 }
826
827 if ( player.GetCommand_Ladder() )
828 {
830 }
831
832 if ( player.IsRestrained() )
833 {
835 }
836
837 if ( player.GetCommand_Swim() )
838 {
840 }
841
842 if ( player.IsRaised() )
843 {
845 }
846
847 if ( player.GetCommand_Move() && player.GetCommand_Move().IsOnBack() )
848 {
850 }
851
852 if ( player.GetThrowing().IsThrowingModeEnabled())
853 {
855 }
856
857 if (player.IsLeaning())
858 {
860 }
861
862 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
863 {
865 }
866
867 if (player.GetInputController() && player.GetInputController().CameraIsFreeLook())
869
870 return mask;
871 }