Initializes DOF properties for optic's alternate ironsights (ACOG etc.)
См. определение в файле ItemOptics.c строка 471
472 {
473 if (
g_Game.ConfigIsExisting(
"cfgVehicles " +
GetType() +
" OpticsInfo PPDOFProperties"))
474 {
475 g_Game.ConfigGetFloatArray(
"cfgVehicles " +
GetType() +
" OpticsInfo PPDOFProperties", temp_array);
476 return true;
477 }
478 else if (
g_Game.ConfigIsExisting(
"cfgVehicles " +
GetType() +
" OpticsInfoWeaponOverride PPDOFProperties"))
479 {
480 g_Game.ConfigGetFloatArray(
"cfgVehicles " +
GetType() +
" OpticsInfoWeaponOverride PPDOFProperties", temp_array);
481 return true;
482 }
483 return false;
484 }
eBleedingSourceType GetType()
Перекрестные ссылки g_Game и GetType().
Используется в ItemOptics().