only read map-related WEATHER_ constants

This commit is contained in:
garak 2019-08-19 13:16:58 -04:00 committed by huderlem
parent 11d6d35b68
commit dae8f7deaf

View file

@ -1488,7 +1488,7 @@ void Project::readMapBattleScenes() {
} }
void Project::readWeatherNames() { void Project::readWeatherNames() {
QStringList prefixes = (QStringList() << "WEATHER_"); QStringList prefixes = (QStringList() << "\\bWEATHER_");
parser.readCDefinesSorted("include/constants/weather.h", prefixes, weatherNames); parser.readCDefinesSorted("include/constants/weather.h", prefixes, weatherNames);
} }