aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/result
diff options
context:
space:
mode:
Diffstat (limited to 'result')
-rw-r--r--result/diceresult.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/result/diceresult.cpp b/result/diceresult.cpp
index ce59cb1..7894b60 100644
--- a/result/diceresult.cpp
+++ b/result/diceresult.cpp
@@ -115,6 +115,7 @@ qreal DiceResult::getScalarResult()
scalar-=tmp->getValue();
break;
case Die::DIVIDE:
+ case Die::INTEGER_DIVIDE:
if(tmp->getValue()!=0)
{
scalar/=tmp->getValue();