808 {
809 int mask = 0;
810 if ( player.GetCommand_Vehicle() )
811 {
813 }
814
815 if ( player.GetCommand_Ladder() )
816 {
818 }
819
820 if ( player.IsRestrained() )
821 {
823 }
824
825 if ( player.GetCommand_Swim() )
826 {
828 }
829
830 if ( player.IsRaised() )
831 {
833 }
834
835 if ( player.GetCommand_Move() && player.GetCommand_Move().IsOnBack() )
836 {
838 }
839
840 if ( player.GetThrowing().IsThrowingModeEnabled())
841 {
843 }
844
845 if (player.IsLeaning())
846 {
848 }
849
850 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
851 {
853 }
854
855 if (player.GetInputController() && player.GetInputController().CameraIsFreeLook())
857
858 return mask;
859 }