diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2008-11-25 19:04:19 -0500 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2008-11-25 19:04:19 -0500 |
| commit | 02a4bbebbd94e7d440d0a0d6e6620d46a60437e5 (patch) | |
| tree | 53f515c2e30bfa5ffa63173a9acc331aa2e2e772 /sigscript | |
| parent | f5a98518420c74e8acc421879689faf948235e29 (diff) | |
| download | sigen-02a4bbebbd94e7d440d0a0d6e6620d46a60437e5.tar.gz sigen-02a4bbebbd94e7d440d0a0d6e6620d46a60437e5.tar.xz sigen-02a4bbebbd94e7d440d0a0d6e6620d46a60437e5.zip | |
Rules no longer needs hardCash value; scripts can control it
Diffstat (limited to 'sigscript')
| -rw-r--r-- | sigscript/RulesWrapper.cpp | 5 | ||||
| -rw-r--r-- | sigscript/RulesWrapper.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sigscript/RulesWrapper.cpp b/sigscript/RulesWrapper.cpp index 6355e600..39efd685 100644 --- a/sigscript/RulesWrapper.cpp +++ b/sigscript/RulesWrapper.cpp @@ -149,11 +149,6 @@ int Sigscript::RulesWrapper::maxTotalWeight() const return m_rules->maxTotalWeight(); } -bool Sigscript::RulesWrapper::hardCash() const -{ - return m_rules->hardCash(); -} - bool Sigscript::RulesWrapper::allowSwitchStyle() const { if (sigmod()->singlePlayer() && hasValueOfType<bool>("allowSwitchStyle")) diff --git a/sigscript/RulesWrapper.h b/sigscript/RulesWrapper.h index 9846f302..e66c59be 100644 --- a/sigscript/RulesWrapper.h +++ b/sigscript/RulesWrapper.h @@ -51,7 +51,6 @@ class SIGSCRIPT_EXPORT RulesWrapper : public ObjectWrapper Q_SCRIPTABLE int maxStages() const; Q_SCRIPTABLE int maxMoney() const; Q_SCRIPTABLE int maxTotalWeight() const; - Q_SCRIPTABLE bool hardCash() const; Q_SCRIPTABLE bool allowSwitchStyle() const; Q_SCRIPTABLE bool specialSplit() const; Q_SCRIPTABLE bool specialDVSplit() const; |
