mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-21 01:54:19 +00:00
repair the segment fault bug in con_startvideo
This commit is contained in:
parent
ca583ba2a9
commit
6acae69d96
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue