mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix demo loading
This commit is contained in:
parent
59698849e1
commit
564bfb97f3
@ -4393,7 +4393,7 @@ bool CEvent::DemoPlayStart()
|
||||
if ( m_pDemoBuffer == nullptr ) return false;
|
||||
memset(m_pDemoBuffer, 0, MAXDEMO*sizeof(DemoEvent));
|
||||
|
||||
sprintf(filename, "data/demo%.3d.blp", m_demoNumber);
|
||||
sprintf(filename, (GetBaseDir () + "data/demo%.3d.blp").c_str (), m_demoNumber);
|
||||
file = fopen(filename, "rb");
|
||||
if ( file == nullptr )
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user