diff options
| author | Ben Boeckel <MathStuf@gmail.com> | 2009-07-19 13:50:43 -0400 |
|---|---|---|
| committer | Ben Boeckel <MathStuf@gmail.com> | 2009-07-19 13:50:43 -0400 |
| commit | dffac4ac7cb7f62619bf1d0b356b17f5791fa765 (patch) | |
| tree | d7f05be81da9429e7f2d9736bae58cd0647655f8 /sigscript | |
| parent | 51f1d2c9d6c2a2b89821143de8fc3bce95d8f164 (diff) | |
| download | sigen-dffac4ac7cb7f62619bf1d0b356b17f5791fa765.tar.gz sigen-dffac4ac7cb7f62619bf1d0b356b17f5791fa765.tar.xz sigen-dffac4ac7cb7f62619bf1d0b356b17f5791fa765.zip | |
Remove sellable from item; set in sellPrice as -1
Diffstat (limited to 'sigscript')
| -rw-r--r-- | sigscript/ItemWrapper.cpp | 5 | ||||
| -rw-r--r-- | sigscript/ItemWrapper.h | 1 |
2 files changed, 0 insertions, 6 deletions
diff --git a/sigscript/ItemWrapper.cpp b/sigscript/ItemWrapper.cpp index ce1b9aa6..4f724d03 100644 --- a/sigscript/ItemWrapper.cpp +++ b/sigscript/ItemWrapper.cpp @@ -47,11 +47,6 @@ QString ItemWrapper::name() const return m_item->name(); } -bool ItemWrapper::sellable() const -{ - return m_item->sellable(); -} - ItemTypeWrapper* ItemWrapper::type() { return game()->itemType(m_item->type()); diff --git a/sigscript/ItemWrapper.h b/sigscript/ItemWrapper.h index 88903c0c..5008725d 100644 --- a/sigscript/ItemWrapper.h +++ b/sigscript/ItemWrapper.h @@ -42,7 +42,6 @@ class SIGSCRIPT_EXPORT ItemWrapper : public ObjectWrapper static ItemWrapper* create(const Sigmod::Item* item, GameWrapper* parent); Q_SCRIPTABLE QString name() const; - Q_SCRIPTABLE bool sellable() const; Q_SCRIPTABLE ItemTypeWrapper* type(); Q_SCRIPTABLE int price() const; Q_SCRIPTABLE int sellPrice() const; |
