diff options
| author | 2018-09-28 10:28:24 +0200 | |
|---|---|---|
| committer | 2018-09-28 10:28:24 +0200 | |
| commit | 8bb4e7a3befc6ce549b631d8a83b9ba69ed73b7a (patch) | |
| tree | 2467c46f22424fadb36fdb9470f4adaaaa6f8da8 /result | |
| parent | 49567f95bf6985707fcf8c2836c761ce39602636 (diff) | |
| download | OneRoll-8bb4e7a3befc6ce549b631d8a83b9ba69ed73b7a.tar.gz OneRoll-8bb4e7a3befc6ce549b631d8a83b9ba69ed73b7a.zip | |
add integer division operator
Diffstat (limited to 'result')
| -rw-r--r-- | result/diceresult.cpp | 1 |
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(); |