summaryrefslogtreecommitdiff
path: root/src/playerinfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/playerinfo.cpp')
-rw-r--r--src/playerinfo.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/playerinfo.cpp b/src/playerinfo.cpp
index 0a581db3..692090af 100644
--- a/src/playerinfo.cpp
+++ b/src/playerinfo.cpp
@@ -46,7 +46,6 @@ static bool mNPCCount = 0;
static bool mNPCPostCount = 0;
static BuySellState mBuySellState = BUYSELL_NONE;
-static bool mTrading = false;
static std::map<int, Special> mSpecials;
static char mSpecialRechargeUpdateNeeded = 0;
@@ -281,24 +280,6 @@ void setBuySellState(BuySellState buySellState)
}
}
-bool isTrading()
-{
- return mTrading;
-}
-
-void setTrading(bool trading)
-{
- bool notify = mTrading != trading;
- mTrading = trading;
-
- if (notify)
- {
- Event event(Event::Trading);
- event.setBool("trading", trading);
- event.trigger(Event::StatusChannel);
- }
-}
-
// --- Specials ---------------------------------------------------------------
void setSpecialStatus(int id, int current, int max, int recharge)