mirror of
https://github.com/EQEmu/Server.git
synced 2026-03-05 09:22:24 +00:00
Fix ZoneDatabase::LoadTraderItem not returning anything valid
This commit is contained in:
parent
4c959159c2
commit
0f662bf70c
@ -570,6 +570,7 @@ Trader_Struct* ZoneDatabase::LoadTraderItem(uint32 char_id){
|
|||||||
loadti->Items[atoi(row[5])] = atoi(row[1]);
|
loadti->Items[atoi(row[5])] = atoi(row[1]);
|
||||||
loadti->ItemCost[atoi(row[5])] = atoi(row[4]);
|
loadti->ItemCost[atoi(row[5])] = atoi(row[4]);
|
||||||
}
|
}
|
||||||
|
return loadti;
|
||||||
}
|
}
|
||||||
|
|
||||||
TraderCharges_Struct* ZoneDatabase::LoadTraderItemWithCharges(uint32 char_id){
|
TraderCharges_Struct* ZoneDatabase::LoadTraderItemWithCharges(uint32 char_id){
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user