mirror of
https://github.com/AxioDL/PrimeWorldEditor.git
synced 2025-12-08 13:15:01 +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;
|
||||
|
||||
public:
|
||||
CAudioManager(CGameProject *pProj);
|
||||
explicit CAudioManager(CGameProject *pProj);
|
||||
void LoadAssets();
|
||||
void ClearAssets();
|
||||
SSoundInfo GetSoundInfo(uint32 SoundID);
|
||||
|
||||
Reference in New Issue
Block a user