27 string cfg_path =
"cfgVehicles " +
m_Player.GetItemInHands().GetType() +
" AnimEvents " +
"Sound " +
"SurfaceDig";
28 if (
m_ID == EReplaceSoundEventID.DIG_PRIMARY)
29 cfg_path = cfg_path +
" DigPrimary";
30 else if (
m_ID == EReplaceSoundEventID.DIG_SECONDARY)
31 cfg_path = cfg_path +
" DigSecondary";
34 if (m_ReplacedSoundAnimID == 0)
35 m_ReplacedSoundAnimID =
GetGame().ConfigGetInt(cfg_path +
" default");