Skip to content

Commit

Permalink
Remove unnecessary file
Browse files Browse the repository at this point in the history
  • Loading branch information
TheNormalnij committed Feb 3, 2025
1 parent 5e7ece9 commit db8c0d8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 33 deletions.
30 changes: 0 additions & 30 deletions Client/game_sa/CVehicleAudioSettingsEntrySA.cpp

This file was deleted.

6 changes: 3 additions & 3 deletions Client/game_sa/CVehicleAudioSettingsEntrySA.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@ static_assert(sizeof(tVehicleAudioSettings) == 0x24, "Invalid size for tVehicleA
class CVehicleAudioSettingsEntrySA final : public CVehicleAudioSettingsEntry
{
public:
CVehicleAudioSettingsEntrySA();
CVehicleAudioSettingsEntrySA(tVehicleAudioSettings* pSettings);
CVehicleAudioSettingsEntrySA(): m_Settings{} {};
CVehicleAudioSettingsEntrySA(tVehicleAudioSettings* pSettings) { m_Settings = *pSettings; };
~CVehicleAudioSettingsEntrySA() = default;

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

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

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

0 comments on commit db8c0d8

Please sign in to comment.