diff --git a/src/project.cpp b/src/project.cpp index a47b68ea..520a371a 100644 --- a/src/project.cpp +++ b/src/project.cpp @@ -1488,7 +1488,7 @@ void Project::readMapBattleScenes() { } void Project::readWeatherNames() { - QStringList prefixes = (QStringList() << "WEATHER_"); + QStringList prefixes = (QStringList() << "\\bWEATHER_"); parser.readCDefinesSorted("include/constants/weather.h", prefixes, weatherNames); }