From 02a4bbebbd94e7d440d0a0d6e6620d46a60437e5 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 25 Nov 2008 19:04:19 -0500 Subject: Rules no longer needs hardCash value; scripts can control it --- sigscript/RulesWrapper.cpp | 5 ----- sigscript/RulesWrapper.h | 1 - 2 files changed, 6 deletions(-) (limited to 'sigscript') 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("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; -- cgit