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

◆ InitWeaponLength()

bool Weapon::InitWeaponLength ( )
inlineprotected

gets weapon length from config for weaponlift raycast

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

1301 {
1302 if (ConfigIsExisting("WeaponLength"))
1303 {
1304 m_WeaponLength = ConfigGetFloat("WeaponLength");
1305 return true;
1306 }
1307 m_WeaponLength = 0.8; //default value if not set in config; should not be zero
1308 return false;
1309 }
float m_WeaponLength
Определения Weapon_Base.c:64

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

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