CAudioManager: Make constructor explicit

Prevents potentially error-prone constructions from occurring
This commit is contained in:
Lioncash 2020-06-11 13:34:15 -04:00
parent 7f881b1b10
commit 9692a064cd
1 changed files with 1 additions and 1 deletions

View File

@ -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);