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

◆ InitWeaponLength()

bool Weapon::InitWeaponLength ( )
inlineprotected

gets weapon length from config for weaponlift raycast

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

1307 {
1308 if (ConfigIsExisting("WeaponLength"))
1309 {
1310 m_WeaponLength = ConfigGetFloat("WeaponLength");
1311 return true;
1312 }
1313 m_WeaponLength = 0.8; //default value if not set in config; should not be zero
1314 return false;
1315 }
float m_WeaponLength
Определения Weapon_Base.c:64

Перекрестные ссылки m_WeaponLength.

Используется в Weapon_Base().