aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/range.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'range.cpp')
-rw-r--r--range.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/range.cpp b/range.cpp
index b713259..df70ef7 100644
--- a/range.cpp
+++ b/range.cpp
@@ -13,7 +13,7 @@ void Range::setValue(qint64 s,qint64 e)
bool Range::isValid(Die* m) const
{
- if((m->getValue()>=m_start)&&(m->getValue()<=m_end))
+ if((m->getLastRolledValue()>=m_start)&&(m->getLastRolledValue()<=m_end))
{
return true;
}