1
0
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:
Mathieu Schroeter 2017-02-12 00:31:00 +01:00
parent 7bd8874cf3
commit 0af18aa9eb

View File

@ -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);