summaryrefslogtreecommitdiffstats
path: root/sigscript/CoinListItemWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-12-29 12:06:26 -0500
committerBen Boeckel <MathStuf@gmail.com>2008-12-29 12:06:26 -0500
commitcb83f5255b360d64c32c7e45d11d242e104e62f5 (patch)
treec6611bf95729c4539f53d514d24847d2945408b9 /sigscript/CoinListItemWrapper.cpp
parent02d571db3ef9fa2cb73203ef3dc46827ee6960cf (diff)
downloadsigen-sigmod-checks.tar.gz
sigen-sigmod-checks.tar.xz
sigen-sigmod-checks.zip
Added macos for overriding values in sigscriptsigmod-checks
Diffstat (limited to 'sigscript/CoinListItemWrapper.cpp')
-rw-r--r--sigscript/CoinListItemWrapper.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/sigscript/CoinListItemWrapper.cpp b/sigscript/CoinListItemWrapper.cpp
index 01bf3094..fd154efe 100644
--- a/sigscript/CoinListItemWrapper.cpp
+++ b/sigscript/CoinListItemWrapper.cpp
@@ -66,7 +66,6 @@ Sigscript::SpeciesWrapper* Sigscript::CoinListItemWrapper::speciesObject()
int Sigscript::CoinListItemWrapper::cost() const
{
- if (sigmod()->singlePlayer() && hasValueOfType<int>("cost"))
- return valueOfType<int>("cost");
+ ALLOW_OVERRIDE_SO(object, int, cost);
return m_object->cost();
}