diff options
Diffstat (limited to 'src/net/tmwa/tradehandler.cpp')
-rw-r--r-- | src/net/tmwa/tradehandler.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/tmwa/tradehandler.cpp b/src/net/tmwa/tradehandler.cpp index 10273c7a7..f82612bd0 100644 --- a/src/net/tmwa/tradehandler.cpp +++ b/src/net/tmwa/tradehandler.cpp @@ -44,6 +44,11 @@ TradeHandler::TradeHandler() : tradeHandler = this; } +TradeHandler::~TradeHandler() +{ + tradeHandler = nullptr; +} + void TradeHandler::request(const Being *const being) const { if (being == nullptr) |