1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Fix edition of base worlds

This commit is contained in:
Mathieu Schroeter 2017-03-01 07:07:38 +01:00
parent 4cdfe5ae56
commit 738c6b5047

View File

@ -106,7 +106,7 @@ bool CDecor::Write (Sint32 rank, bool bUser, Sint32 world, Sint32 time,
AddUserPath (filename);
}
else
sprintf (filename, "data/world%.3d.blp", rank);
sprintf (filename, (GetBaseDir () + "data/world%.3d.blp").c_str (), rank);
file = fopen (filename, "wb");
if (file == nullptr)