diff options
Diffstat (limited to 'src/game-server/statusmanager.cpp')
-rw-r--r-- | src/game-server/statusmanager.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/game-server/statusmanager.cpp b/src/game-server/statusmanager.cpp index 21c396e7..008e9827 100644 --- a/src/game-server/statusmanager.cpp +++ b/src/game-server/statusmanager.cpp @@ -65,10 +65,11 @@ void StatusManager::reload() continue; int id = XML::getProperty(node, "id", 0); - if (id == 0) + if (id < 1) { - LOG_WARN("Status Manager: An (ignored) Status has no ID in " - << statusReferenceFile << "!"); + LOG_WARN("Status Manager: The status ID: " << id << " in " + << statusReferenceFile + << " is invalid and will be ignored."); continue; } |