hello friends!
I believe that I am facing an BUG with the function file_dialog
SAMPLE:
char* TEXT_name = file_dialog("Load Terrain Texture 1 ","*.tga;*.bmp;*.pcx;*.dds");
this function works correctly, but she is preventing the operation of all SAVING functions of the engine.
Sample:
game_save, file_open_write, And Others.
Could anyone help me?
PS: this problem only happens if I select some file
SAMPLE TEST
function main()
{
//NO SAVE
char* TEXT_name = file_dialog("Load Terrain Texture 1 ","*.tga;*.bmp;*.pcx;*.dds");
wait(1);
game_save("terr", 1, SV_INFO); //ITS NO WORK
}
function main()
{
//SAVE
game_save("terr", 1, SV_INFO); //ITS WORK
}