summaryrefslogtreecommitdiffstats
path: root/sigmod/Rules.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'sigmod/Rules.cpp')
-rw-r--r--sigmod/Rules.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/sigmod/Rules.cpp b/sigmod/Rules.cpp
index 5442dbdf..20fe5a95 100644
--- a/sigmod/Rules.cpp
+++ b/sigmod/Rules.cpp
@@ -50,7 +50,6 @@ Sigmod::Rules::Rules(const Sigmod* parent) :
m_maxStages(6),
m_maxMoney(0),
m_maxTotalWeight(0),
- m_hardCash(false),
m_allowSwitchStyle(false),
m_specialSplit(false),
m_specialDVSplit(false),
@@ -113,7 +112,6 @@ void Sigmod::Rules::load(const QDomElement& xml)
LOAD(maxStages);
LOAD(maxMoney);
LOAD(maxTotalWeight);
- LOAD(hardCash);
LOAD(allowSwitchStyle);
LOAD(specialSplit);
LOAD(specialDVSplit);
@@ -143,7 +141,6 @@ QDomElement Sigmod::Rules::save() const
SAVE(maxStages);
SAVE(maxMoney);
SAVE(maxTotalWeight);
- SAVE(hardCash);
SAVE(allowSwitchStyle);
SAVE(specialSplit);
SAVE(specialDVSplit);
@@ -267,11 +264,6 @@ void Sigmod::Rules::setMaxTotalWeight(const int maxTotalWeight)
CHECK(maxTotalWeight);
}
-void Sigmod::Rules::setHardCash(const bool hardCash)
-{
- CHECK(hardCash);
-}
-
void Sigmod::Rules::setAllowSwitchStyle(const bool allowSwitchStyle)
{
CHECK(allowSwitchStyle);
@@ -401,11 +393,6 @@ int Sigmod::Rules::maxTotalWeight() const
return m_maxTotalWeight;
}
-bool Sigmod::Rules::hardCash() const
-{
- return m_hardCash;
-}
-
bool Sigmod::Rules::allowSwitchStyle() const
{
return m_allowSwitchStyle;
@@ -458,7 +445,6 @@ Sigmod::Rules& Sigmod::Rules::operator=(const Rules& rhs)
COPY(maxStages);
COPY(maxMoney);
COPY(maxTotalWeight);
- COPY(hardCash);
COPY(allowSwitchStyle);
COPY(specialSplit);
COPY(specialDVSplit);