From f5a98518420c74e8acc421879689faf948235e29 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 25 Nov 2008 18:59:23 -0500 Subject: Removed the amount variable from CoinListObject --- sigscript/CoinListObjectWrapper.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sigscript/CoinListObjectWrapper.cpp') 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("amount")) - return valueOfType("amount"); - return m_object->amount(); -} - int Sigscript::CoinListObjectWrapper::cost() const { if (sigmod()->singlePlayer() && hasValueOfType("cost")) -- cgit