876 {
877 int mask = 0;
878 if ( player.GetCommand_Vehicle() )
879 {
881 }
882
883 if ( player.GetCommand_Ladder() )
884 {
886 }
887
888 if ( player.IsRestrained() )
889 {
891 }
892
893 if ( player.GetCommand_Swim() )
894 {
896 }
897
898 if ( player.IsRaised() )
899 {
901 }
902
903 if ( player.GetCommand_Move() && player.GetCommand_Move().IsOnBack() )
904 {
906 }
907
908 if ( player.GetThrowing().IsThrowingModeEnabled())
909 {
911 }
912
913 if (player.IsLeaning())
914 {
916 }
917
918 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
919 {
921 }
922
923 if (player.GetInputController() && player.GetInputController().CameraIsFreeLook())
925
926 return mask;
927 }