mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Use 'Warning()' if 'Miles_Initialize' failed
This commit is contained in:
parent
03dc4eada5
commit
3ab4597121
@ -18,11 +18,12 @@ void AIL_LogFunc(int64_t nLogLevel, const char* pszMessage)
|
||||
//-----------------------------------------------------------------------------
|
||||
bool Miles_Initialize()
|
||||
{
|
||||
bool result = v_Miles_Initialize();
|
||||
bool bResult = v_Miles_Initialize();
|
||||
|
||||
DevMsg(eDLL_T::AUDIO, "Miles_Initialize: %s\n", result ? "initialized successfully" : "failed to initialize");
|
||||
bResult ? DevMsg(eDLL_T::AUDIO, __FUNCTION__": %s\n", "initialized successfully")
|
||||
: Warning(eDLL_T::AUDIO, __FUNCTION__": %s\n", "failed to initialize");
|
||||
|
||||
return result;
|
||||
return bResult;
|
||||
}
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user