diff options
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; |
