aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'die.cpp')
-rw-r--r--die.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/die.cpp b/die.cpp
index 5ba6137..3d372c8 100644
--- a/die.cpp
+++ b/die.cpp
@@ -155,7 +155,7 @@ void Die::roll(bool adding)
quint64 Die::getFaces() const
{
- return abs(m_maxValue - m_base) + 1;
+ return std::abs(m_maxValue - m_base) + 1;
}
qint64 Die::getLastRolledValue()
{