From 4b0892691729e5efba27c796e29002b1e1d54166 Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Wed, 22 Sep 2010 00:02:05 +0200 Subject: Centralized the servers' exit values. Also made random code format clean-ups. Resolves: Mana-Mantis #217 Reviewed-by: Jaxad0127. --- src/game-server/attributemanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/game-server/attributemanager.cpp') diff --git a/src/game-server/attributemanager.cpp b/src/game-server/attributemanager.cpp index d24c2645..7e32d4dc 100644 --- a/src/game-server/attributemanager.cpp +++ b/src/game-server/attributemanager.cpp @@ -43,7 +43,7 @@ void AttributeManager::reload() { LOG_FATAL("Attribute Manager: Could not find " << mAttributeReferenceFile << "!"); - exit(3); + exit(EXIT_XML_NOT_FOUND); } XML::Document doc(absPathFile, int()); @@ -52,7 +52,7 @@ void AttributeManager::reload() { LOG_FATAL("Attribute Manager: " << mAttributeReferenceFile << " is not a valid database file!"); - exit(3); + exit(EXIT_XML_BAD_PARAMETER); } LOG_INFO("Loading attribute reference..."); -- cgit v1.2.3-60-g2f50