mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-09 13:22:25 +00:00
Merge branch 'master' of git://github.com/EQEmu/Server
This commit is contained in:
commit
68338dace1
@ -15372,7 +15372,7 @@ void Bot::ProcessBotCommands(Client *c, const Seperator *sep) {
|
|||||||
|
|
||||||
if(!strcasecmp(sep->arg[1], "stance")) {
|
if(!strcasecmp(sep->arg[1], "stance")) {
|
||||||
if(sep->argnum == 3){
|
if(sep->argnum == 3){
|
||||||
Bot* tempBot;
|
Bot* tempBot = NULL;
|
||||||
std::string botName = std::string(sep->arg[2]);
|
std::string botName = std::string(sep->arg[2]);
|
||||||
|
|
||||||
if(!botName.empty())
|
if(!botName.empty())
|
||||||
|
|||||||
@ -13503,12 +13503,11 @@ void Client::Handle_OP_MercenaryDataRequest(const EQApplicationPacket *app)
|
|||||||
}
|
}
|
||||||
|
|
||||||
NPC* tar = entity_list.GetNPCByID(merchant_id);
|
NPC* tar = entity_list.GetNPCByID(merchant_id);
|
||||||
|
|
||||||
if(tar) {
|
if(tar) {
|
||||||
int mercTypeCount = 0;
|
int mercTypeCount = 0;
|
||||||
int mercCount = 0;
|
int mercCount = 0;
|
||||||
|
|
||||||
MercenaryMerchantList_Struct* mml = new MercenaryMerchantList_Struct;
|
|
||||||
|
|
||||||
if(DistNoRoot(*tar) > USE_NPC_RANGE2)
|
if(DistNoRoot(*tar) > USE_NPC_RANGE2)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
@ -13516,6 +13515,8 @@ void Client::Handle_OP_MercenaryDataRequest(const EQApplicationPacket *app)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
MercenaryMerchantList_Struct* mml = new MercenaryMerchantList_Struct;
|
||||||
|
|
||||||
mercTypeCount = tar->GetNumMercTypes(GetClientVersion());
|
mercTypeCount = tar->GetNumMercTypes(GetClientVersion());
|
||||||
mercCount = tar->GetNumMercs(GetClientVersion());
|
mercCount = tar->GetNumMercs(GetClientVersion());
|
||||||
|
|
||||||
|
|||||||
@ -5166,11 +5166,8 @@ bool Merc::Unsuspend(bool setMaxStats) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool Merc::Dismiss(){
|
bool Merc::Dismiss(){
|
||||||
Client* mercOwner;
|
|
||||||
|
|
||||||
if(GetMercOwner()) {
|
Client* mercOwner = GetMercOwner();
|
||||||
mercOwner = GetMercOwner();
|
|
||||||
}
|
|
||||||
|
|
||||||
if(!mercOwner)
|
if(!mercOwner)
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user