diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/game-server/attributemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game-server/attributemanager.cpp b/src/game-server/attributemanager.cpp index 3a19e1b6..08b933a2 100644 --- a/src/game-server/attributemanager.cpp +++ b/src/game-server/attributemanager.cpp @@ -118,7 +118,7 @@ void AttributeManager::readAttributeNode(xmlNodePtr attributeNode) false); attribute->modifiers = std::vector<AttributeModifier>(); attribute->minimum = XML::getFloatProperty(attributeNode, "minimum", - std::numeric_limits<double>::min()); + std::numeric_limits<double>::lowest()); attribute->maximum = XML::getFloatProperty(attributeNode, "maximum", std::numeric_limits<double>::max()); attribute->modifiable = XML::getBoolProperty(attributeNode, "modifiable", |