[Cleanup] Remove SetTradeCash() from trading.cpp/common.h (#3356)

# Notes
- This is unused.
This commit is contained in:
Alex King 2023-05-17 08:57:09 -04:00 committed by GitHub
parent 3fb479e612
commit 84a779c4df
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 6 deletions

View File

@ -846,7 +846,6 @@ public:
virtual ~Trade(); virtual ~Trade();
void Reset(); void Reset();
void SetTradeCash(uint32 in_pp, uint32 in_gp, uint32 in_sp, uint32 in_cp);
// Initiate a trade with another mob // Initiate a trade with another mob
// Also puts other mob into trader mode with this mob // Also puts other mob into trader mode with this mob

View File

@ -61,11 +61,6 @@ void Trade::Reset()
pp=0; gp=0; sp=0; cp=0; 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 a trade with another mob
// initiate_with specifies whether to start trade with other mob as well // initiate_with specifies whether to start trade with other mob as well
void Trade::Start(uint32 mob_id, bool initiate_with) void Trade::Start(uint32 mob_id, bool initiate_with)