mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-08 21:17:53 +00:00
CAudioManager: Make constructor explicit
Prevents potentially error-prone constructions from occurring
This commit is contained in:
@@ -26,7 +26,7 @@ class CAudioManager
|
|||||||
std::unordered_map<uint16, CAudioGroup*> mSfxIdMap;
|
std::unordered_map<uint16, CAudioGroup*> mSfxIdMap;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
CAudioManager(CGameProject *pProj);
|
explicit CAudioManager(CGameProject *pProj);
|
||||||
void LoadAssets();
|
void LoadAssets();
|
||||||
void ClearAssets();
|
void ClearAssets();
|
||||||
SSoundInfo GetSoundInfo(uint32 SoundID);
|
SSoundInfo GetSoundInfo(uint32 SoundID);
|
||||||
|
|||||||
Reference in New Issue
Block a user