Initializes DOF properties for optic's alternate ironsights (ACOG etc.)
См. определение в файле ItemOptics.c строка 500
501 {
502 if (
g_Game.ConfigIsExisting(
"cfgVehicles " +
GetType() +
" OpticsInfo PPDOFProperties"))
503 {
504 g_Game.ConfigGetFloatArray(
"cfgVehicles " +
GetType() +
" OpticsInfo PPDOFProperties", temp_array);
505 return true;
506 }
507 else if (
g_Game.ConfigIsExisting(
"cfgVehicles " +
GetType() +
" OpticsInfoWeaponOverride PPDOFProperties"))
508 {
509 g_Game.ConfigGetFloatArray(
"cfgVehicles " +
GetType() +
" OpticsInfoWeaponOverride PPDOFProperties", temp_array);
510 return true;
511 }
512 return false;
513 }
eBleedingSourceType GetType()
Перекрестные ссылки g_Game и GetType().
Используется в ItemOptics().