| 63 | } |
| 64 | |
| 65 | void CWeaponStatMgun::Load(LPCSTR section) |
| 66 | { |
| 67 | inheritedPH::Load(section); |
| 68 | inheritedShooting::Load(section); |
| 69 | |
| 70 | HUD_SOUND::LoadSound(section, "snd_shoot", sndShot, SOUND_TYPE_WEAPON_SHOOTING); |
| 71 | m_Ammo->Load(pSettings->r_string(section, "ammo_class"), 0); |
| 72 | camMaxAngle = pSettings->r_float(section, "cam_max_angle"); |
| 73 | camMaxAngle = deg2rad(camMaxAngle); |
| 74 | camRelaxSpeed = pSettings->r_float(section, "cam_relax_speed"); |
| 75 | camRelaxSpeed = deg2rad(camRelaxSpeed); |
| 76 | } |
| 77 | |
| 78 | BOOL CWeaponStatMgun::net_Spawn(CSE_Abstract* DC) |
| 79 | { |
no test coverage detected