From 6acae69d96059c34bc141f53ca53b86f44128038 Mon Sep 17 00:00:00 2001 From: sirius Date: Tue, 1 Oct 2019 22:44:01 +0800 Subject: [PATCH] repair the segment fault bug in con_startvideo --- src/engine/client/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index 73e54ca27..ad866ae17 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -3321,7 +3321,7 @@ void CClient::Con_StartVideo(IConsole::IResult *pResult, void *pUserData) if (!IVideo::Current()) { - new CVideo((CGraphics_Threaded*)pSelf->m_pGraphics, pSelf->Storage(), pSelf->m_pConsole, pSelf->Graphics()->ScreenWidth(), pSelf->Graphics()->ScreenHeight(), NULL); + new CVideo((CGraphics_Threaded*)pSelf->m_pGraphics, pSelf->Storage(), pSelf->m_pConsole, pSelf->Graphics()->ScreenWidth(), pSelf->Graphics()->ScreenHeight(), ""); IVideo::Current()->start(); } else