Style nits

This commit is contained in:
Michael Cook (mackal) 2014-09-14 16:00:18 -04:00
parent 0f662bf70c
commit e256175ce6

View File

@ -548,8 +548,8 @@ void ZoneDatabase::DeleteWorldContainer(uint32 parent_id, uint32 zone_id)
} }
Trader_Struct* ZoneDatabase::LoadTraderItem(uint32 char_id){ Trader_Struct* ZoneDatabase::LoadTraderItem(uint32 char_id)
{
Trader_Struct* loadti = new Trader_Struct; Trader_Struct* loadti = new Trader_Struct;
memset(loadti,0,sizeof(Trader_Struct)); memset(loadti,0,sizeof(Trader_Struct));
@ -573,8 +573,8 @@ Trader_Struct* ZoneDatabase::LoadTraderItem(uint32 char_id){
return loadti; return loadti;
} }
TraderCharges_Struct* ZoneDatabase::LoadTraderItemWithCharges(uint32 char_id){ TraderCharges_Struct* ZoneDatabase::LoadTraderItemWithCharges(uint32 char_id)
{
TraderCharges_Struct* loadti = new TraderCharges_Struct; TraderCharges_Struct* loadti = new TraderCharges_Struct;
memset(loadti,0,sizeof(TraderCharges_Struct)); memset(loadti,0,sizeof(TraderCharges_Struct));
@ -596,7 +596,6 @@ TraderCharges_Struct* ZoneDatabase::LoadTraderItemWithCharges(uint32 char_id){
loadti->Charges[atoi(row[5])] = atoi(row[3]); loadti->Charges[atoi(row[5])] = atoi(row[3]);
loadti->ItemCost[atoi(row[5])] = atoi(row[4]); loadti->ItemCost[atoi(row[5])] = atoi(row[4]);
} }
return loadti; return loadti;
} }