844 {
845 int mask = 0;
846 if ( player.GetCommand_Vehicle() )
847 {
849 }
850
851 if ( player.GetCommand_Ladder() )
852 {
854 }
855
856 if ( player.IsRestrained() )
857 {
859 }
860
861 if ( player.GetCommand_Swim() )
862 {
864 }
865
866 if ( player.IsRaised() )
867 {
869 }
870
871 if ( player.GetCommand_Move() && player.GetCommand_Move().IsOnBack() )
872 {
874 }
875
876 if ( player.GetThrowing().IsThrowingModeEnabled())
877 {
879 }
880
881 if (player.IsLeaning())
882 {
884 }
885
886 if (player.GetBrokenLegs() ==
eBrokenLegs.BROKEN_LEGS)
887 {
889 }
890
891 if (player.GetInputController() && player.GetInputController().CameraIsFreeLook())
893
894 return mask;
895 }