J :
* Put back a change that was inadvertently reverted.
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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!
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user