Skip to content

Commit e75b073

Browse files
committed
Fix audio crash
1 parent dc8ff62 commit e75b073

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)