From 84a779c4df62b82a8b0ad6aaa3743df39a5c6122 Mon Sep 17 00:00:00 2001 From: Alex King <89047260+Kinglykrab@users.noreply.github.com> Date: Wed, 17 May 2023 08:57:09 -0400 Subject: [PATCH] [Cleanup] Remove SetTradeCash() from trading.cpp/common.h (#3356) # Notes - This is unused. --- zone/common.h | 1 - zone/trading.cpp | 5 ----- 2 files changed, 6 deletions(-) diff --git a/zone/common.h b/zone/common.h index f932da9da..9cb570985 100644 --- a/zone/common.h +++ b/zone/common.h @@ -846,7 +846,6 @@ public: virtual ~Trade(); void Reset(); - void SetTradeCash(uint32 in_pp, uint32 in_gp, uint32 in_sp, uint32 in_cp); // Initiate a trade with another mob // Also puts other mob into trader mode with this mob diff --git a/zone/trading.cpp b/zone/trading.cpp index bfde4ff53..19873c0bd 100644 --- a/zone/trading.cpp +++ b/zone/trading.cpp @@ -61,11 +61,6 @@ void Trade::Reset() pp=0; gp=0; sp=0; cp=0; } -void Trade::SetTradeCash(uint32 in_pp, uint32 in_gp, uint32 in_sp, uint32 in_cp) -{ - pp=in_pp; gp=in_gp; sp=in_sp; cp=in_cp; -} - // Initiate a trade with another mob // initiate_with specifies whether to start trade with other mob as well void Trade::Start(uint32 mob_id, bool initiate_with)