summaryrefslogtreecommitdiffstats
path: root/sigscript/CoinListObjectWrapper.cpp
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2008-11-25 18:59:23 -0500
committerBen Boeckel <MathStuf@gmail.com>2008-11-25 18:59:23 -0500
commitf5a98518420c74e8acc421879689faf948235e29 (patch)
tree578e5f8631219690ccc1a10df97f2ef841b64fd2 /sigscript/CoinListObjectWrapper.cpp
parent07e2bb39f2399c7a68c6cc8b511f0e5a2ac34565 (diff)
downloadsigen-f5a98518420c74e8acc421879689faf948235e29.tar.gz
sigen-f5a98518420c74e8acc421879689faf948235e29.tar.xz
sigen-f5a98518420c74e8acc421879689faf948235e29.zip
Removed the amount variable from CoinListObject
Diffstat (limited to 'sigscript/CoinListObjectWrapper.cpp')
-rw-r--r--sigscript/CoinListObjectWrapper.cpp7
1 files changed, 0 insertions, 7 deletions
diff --git a/sigscript/CoinListObjectWrapper.cpp b/sigscript/CoinListObjectWrapper.cpp
index c04e90f1..bde11143 100644
--- a/sigscript/CoinListObjectWrapper.cpp
+++ b/sigscript/CoinListObjectWrapper.cpp
@@ -64,13 +64,6 @@ Sigscript::SpeciesWrapper* Sigscript::CoinListObjectWrapper::speciesObject()
return NULL;
}
-int Sigscript::CoinListObjectWrapper::amount() const
-{
- if (sigmod()->singlePlayer() && hasValueOfType<int>("amount"))
- return valueOfType<int>("amount");
- return m_object->amount();
-}
-
int Sigscript::CoinListObjectWrapper::cost() const
{
if (sigmod()->singlePlayer() && hasValueOfType<int>("cost"))