DayZ 1.27
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ GetClimbType()

int DayZPlayerImplementJumpClimb::GetClimbType ( float pHeight)
inlineprivate

См. определение в файле DayZPlayerImplementJumpClimb.c строка 101

102 {
103 int climbType = -1;
104 if (pHeight < 1.1)
105 climbType = 0;
106 else if (pHeight >= 1.1 && pHeight < 1.7)
107 climbType = 1;
108 else if (pHeight >= 1.7 && pHeight < 2.75)
109 climbType = 2;
110
111 return climbType;
112 }

Используется в Climb() и JumpOrClimb().