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

◆ InitWeaponLength()

bool Weapon::InitWeaponLength ( )
inlineprotected

gets weapon length from config for weaponlift raycast

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

1282 {
1283 if (ConfigIsExisting("WeaponLength"))
1284 {
1285 m_WeaponLength = ConfigGetFloat("WeaponLength");
1286 return true;
1287 }
1288 m_WeaponLength = 0.8; //default value if not set in config; should not be zero
1289 return false;
1290 }
float m_WeaponLength
Определения Weapon_Base.c:64

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

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