Skip to content

Commit db8c0d8

Browse files
committed
Remove unnecessary file
1 parent 5e7ece9 commit db8c0d8

File tree

2 files changed

+3
-33
lines changed

2 files changed

+3
-33
lines changed

Client/game_sa/CVehicleAudioSettingsEntrySA.cpp

Lines changed: 0 additions & 30 deletions
This file was deleted.

Client/game_sa/CVehicleAudioSettingsEntrySA.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ static_assert(sizeof(tVehicleAudioSettings) == 0x24, "Invalid size for tVehicleA
3636
class CVehicleAudioSettingsEntrySA final : public CVehicleAudioSettingsEntry
3737
{
3838
public:
39-
CVehicleAudioSettingsEntrySA();
40-
CVehicleAudioSettingsEntrySA(tVehicleAudioSettings* pSettings);
39+
CVehicleAudioSettingsEntrySA(): m_Settings{} {};
40+
CVehicleAudioSettingsEntrySA(tVehicleAudioSettings* pSettings) { m_Settings = *pSettings; };
4141
~CVehicleAudioSettingsEntrySA() = default;
4242

4343
tVehicleAudioSettings* getInterface() { return &m_Settings; };
4444

4545
void Assign(const tVehicleAudioSettings& settings) noexcept { m_Settings = settings; }
46-
void Assign(const CVehicleAudioSettingsEntry* pData);
46+
void Assign(const CVehicleAudioSettingsEntry* settings) noexcept { m_Settings = static_cast<const CVehicleAudioSettingsEntrySA*>(settings)->m_Settings; };
4747

4848
eVehicleSoundType GetSoundType() const noexcept override { return m_Settings.m_eVehicleSoundType; };
4949
short GetEngineOnSoundBankID() const noexcept override { return m_Settings.m_nEngineOnSoundBankId; };

0 commit comments

Comments
 (0)