mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
forget to deal with pError
This commit is contained in:
parent
3967ddba00
commit
0be4629cc1
|
@ -3545,7 +3545,10 @@ const char *CClient::DemoPlayer_Play(const char *pFilename, int StorageType)
|
|||
#if defined(CONF_VIDEORECORDER)
|
||||
const char *CClient::DemoPlayer_Render(const char *pFilename, int StorageType, const char *pVideoName, int SpeedIndex)
|
||||
{
|
||||
DemoPlayer_Play(pFilename, StorageType);
|
||||
const char *pError;
|
||||
pError = DemoPlayer_Play(pFilename, StorageType);
|
||||
if(pError)
|
||||
return pError;
|
||||
m_ButtonRender = true;
|
||||
|
||||
this->CClient::StartVideo(NULL, this, pVideoName);
|
||||
|
|
Loading…
Reference in a new issue