diff --git a/projects/mtg/include/GameOptions.h b/projects/mtg/include/GameOptions.h index 89b3f462b..4f025fa5b 100644 --- a/projects/mtg/include/GameOptions.h +++ b/projects/mtg/include/GameOptions.h @@ -203,7 +203,7 @@ public: //These return a filepath accurate to the current mode/profile/theme, and can //optionally fallback to a file within a certain directory. //The sanity=false option returns the adjusted path even if the file doesn't exist. - string profileFile(string filename="", string fallback="", bool sanity=true,bool relative=false); + string profileFile(string filename="", string fallback="", bool sanity=false,bool relative=false); void reloadProfile(bool images = true); //Reloads profile using current options[ACTIVE_PROFILE] void checkProfile(); //Confirms that a profile is loaded and contains a collection. diff --git a/projects/mtg/src/GameOptions.cpp b/projects/mtg/src/GameOptions.cpp index 0aa1a80f8..f451b7941 100644 --- a/projects/mtg/src/GameOptions.cpp +++ b/projects/mtg/src/GameOptions.cpp @@ -442,7 +442,7 @@ GameSettings::~GameSettings(){ SAFE_DELETE(globalOptions); SAFE_DELETE(profileOptions); SAFE_DELETE(themeOptions); - + SAFE_DELETE(keypad); SAFE_DELETE(OptionHandDirection::definition); SAFE_DELETE(OptionClosedHand::definition); } @@ -682,4 +682,4 @@ int EnumDefinition::findIndex(int value){ } return 0; //Default! -} \ No newline at end of file +}