Skip to content

Commit aac8b42

Browse files
Synchronize changes from 1.6 master branch [ci skip]
44ffb06 Merge branch 'master' of https://github.com/multitheftauto/mtasa-blue f1571e0 Fix audio crash
2 parents 74ecf40 + 44ffb06 commit aac8b42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Client/mods/deathmatch/logic/CClientSound.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ bool CClientSound::Create()
155155
// Load file/start connect
156156
if (!m_pAudio->BeginLoadingMedia())
157157
{
158-
delete m_pAudio;
158+
m_pAudio->Destroy();
159159
m_pAudio = nullptr;
160160
return false;
161161
}

0 commit comments

Comments
 (0)