aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/die.cpp
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2018-09-28 10:28:24 +0200
committerRenaud G <renaud@rolisteam.org>2018-09-28 10:28:24 +0200
commit8bb4e7a3befc6ce549b631d8a83b9ba69ed73b7a (patch)
tree2467c46f22424fadb36fdb9470f4adaaaa6f8da8 /die.cpp
parent49567f95bf6985707fcf8c2836c761ce39602636 (diff)
downloadOneRoll-8bb4e7a3befc6ce549b631d8a83b9ba69ed73b7a.tar.gz
OneRoll-8bb4e7a3befc6ce549b631d8a83b9ba69ed73b7a.zip
add integer division operator
Diffstat (limited to 'die.cpp')
-rw-r--r--die.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/die.cpp b/die.cpp
index 417ab20..7cacf18 100644
--- a/die.cpp
+++ b/die.cpp
@@ -97,6 +97,7 @@ qint64 Die::getValue() const
case MINUS:
value-=tmp;
break;
+ case INTEGER_DIVIDE:
case DIVIDE:
if(tmp!=0)
{