* Put back a change that was inadvertently reverted.
This commit is contained in:
jean.chalard
2009-09-23 15:15:39 +00:00
parent b1d8331482
commit 5461785e9f
2 changed files with 3 additions and 3 deletions

View File

@@ -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.

View File

@@ -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!
}
}