mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Fix access to 'enigmes' file
This commit is contained in:
parent
7bd8874cf3
commit
0af18aa9eb
@ -4172,7 +4172,7 @@ bool CEvent::ReadLibelle(int world, bool bSchool, bool bHelp)
|
||||
if ( pBuffer == nullptr ) goto error;
|
||||
memset(pBuffer, 0, sizeof(char)*50000);
|
||||
|
||||
file = fopen("data/enigmes.blp", "rb");
|
||||
file = fopen((GetBaseDir () + "data/enigmes.blp").c_str (), "rb");
|
||||
if ( file == nullptr ) goto error;
|
||||
|
||||
nb = fread(pBuffer, sizeof(char), 50000-1, file);
|
||||
|
Loading…
x
Reference in New Issue
Block a user