summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resources/db/statuseffectdb.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/resources/db/statuseffectdb.cpp b/src/resources/db/statuseffectdb.cpp
index 0b0618783..bf44a4189 100644
--- a/src/resources/db/statuseffectdb.cpp
+++ b/src/resources/db/statuseffectdb.cpp
@@ -76,6 +76,11 @@ void StatusEffectDB::load()
SkipError_true);
loadXmlDir("statusEffectsPatchDir", loadXmlFile);
+ if (!blockIdToIdMap.empty())
+ {
+ reportAlways("Detected legacy attribute block-id "
+ "in status-effects.xml");
+ }
mLoaded = true;
}