- remove dots, slash and backslash at the beginning of filenames in the texmod.def
- selected language will now be stored
- now one has to set all keys, if save single texture is set to true
This commit is contained in:
code@koerner-de.net
2011-10-06 19:01:26 +00:00
parent 8d4ab8963f
commit d04480d460
6 changed files with 89 additions and 78 deletions
+2
View File
@@ -243,6 +243,8 @@ int OTM_GamePage::GetSettings(void)
wxString path = Game.GetSavePath();
if ( (save_single || save_all) && path.Len()==0) {LastError << Language.Error_NoSavePath; return 1;}
if ( save_single && ( key_back==wxNOT_FOUND || key_save==wxNOT_FOUND || key_next==wxNOT_FOUND) ) {LastError << Language.Error_KeyNotSet; return 1;}
if (key_back!=wxNOT_FOUND) Game.SetKeyBack(key_back);
if (key_save!=wxNOT_FOUND) Game.SetKeySave(key_save);
if (key_next!=wxNOT_FOUND) Game.SetKeyNext(key_next);