Drop path_ from path config options

This commit is contained in:
GriffinR
2022-10-24 08:03:51 -04:00
parent 5ba3720405
commit 09ce5b5913
4 changed files with 8 additions and 8 deletions

View File

@@ -2166,7 +2166,7 @@ bool Project::readMovementTypes() {
}
bool Project::readInitialFacingDirections() {
QString filename = projectConfig.getFilePath(ProjectFilePath::path_initial_facing_table);
QString filename = projectConfig.getFilePath(ProjectFilePath::initial_facing_table);
fileWatcher.addPath(root + "/" + filename);
facingDirections = parser.readNamedIndexCArray(filename, "gInitialMovementTypeFacingDirections");
if (facingDirections.isEmpty()) {
@@ -2507,7 +2507,7 @@ bool Project::readEventGraphics() {
bool Project::readSpeciesIconPaths() {
speciesToIconPath.clear();
QString srcfilename = projectConfig.getFilePath(ProjectFilePath::path_pokemon_icon_table);
QString srcfilename = projectConfig.getFilePath(ProjectFilePath::pokemon_icon_table);
QString incfilename = projectConfig.getFilePath(ProjectFilePath::data_pokemon_gfx);
fileWatcher.addPath(root + "/" + srcfilename);
fileWatcher.addPath(root + "/" + incfilename);