mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-12-25 10:20:54 +00:00
Fix bad printf parameters
--HG-- branch : develop
This commit is contained in:
parent
53b62c66d2
commit
d5654ad62e
1 changed files with 6 additions and 6 deletions
|
@ -561,13 +561,13 @@ bool SExportOptions::loadcf (CConfigFile &cf)
|
||||||
bool SExportOptions::save (FILE *f)
|
bool SExportOptions::save (FILE *f)
|
||||||
{
|
{
|
||||||
fprintf (f,"\n// Export Options\n");
|
fprintf (f,"\n// Export Options\n");
|
||||||
fprintf (f, "EXP_OutIGDir = \"%s\";\n", OutIGDir);
|
fprintf (f, "EXP_OutIGDir = \"%s\";\n", OutIGDir.c_str());
|
||||||
fprintf (f, "EXP_ZoneWDir = \"%s\";\n", InLandscapeDir);
|
fprintf (f, "EXP_ZoneWDir = \"%s\";\n", InLandscapeDir.c_str());
|
||||||
fprintf (f, "EXP_SmallBank = \"%s\";\n", LandBankFile);
|
fprintf (f, "EXP_SmallBank = \"%s\";\n", LandBankFile.c_str());
|
||||||
fprintf (f, "EXP_FarBank = \"%s\";\n", LandFarBankFile);
|
fprintf (f, "EXP_FarBank = \"%s\";\n", LandFarBankFile.c_str());
|
||||||
fprintf (f, "EXP_DisplaceDir = \"%s\";\n", LandTileNoiseDir);
|
fprintf (f, "EXP_DisplaceDir = \"%s\";\n", LandTileNoiseDir.c_str());
|
||||||
fprintf (f, "EXP_CellSize = %f;\n", CellSize);
|
fprintf (f, "EXP_CellSize = %f;\n", CellSize);
|
||||||
fprintf (f, "EXP_PrimFloraDir = \"%s\";\n", PrimFloraDir);
|
fprintf (f, "EXP_PrimFloraDir = \"%s\";\n", PrimFloraDir.c_str());
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue