From 0354f77e860562668f8684d25c175b7fde2fa33d Mon Sep 17 00:00:00 2001 From: obiwankennedy Date: Wed, 8 Jan 2014 18:15:31 +0100 Subject: Update booleancondition.cpp die* --- booleancondition.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'booleancondition.cpp') diff --git a/booleancondition.cpp b/booleancondition.cpp index 8194271..26d8063 100644 --- a/booleancondition.cpp +++ b/booleancondition.cpp @@ -4,20 +4,20 @@ BooleanCondition::BooleanCondition() { } -bool BooleanCondition::isValid(Die b) const +bool BooleanCondition::isValid(Die* b) const { switch(m_operator) { case Equal: - return (b.getValue()==m_value); + return (b->getValue()==m_value); case GreaterThan: - return (b.getValue()>m_value); + return (b->getValue()>m_value); case LesserThan: - return (b.getValue()getValue()=m_value); + return (b->getValue()>=m_value); case LesserOrEqual: - return (b.getValue()<=m_value); + return (b->getValue()<=m_value); } -- cgit v1.2.3-70-g09d2