mirror of
https://github.com/EQEmu/Server.git
synced 2026-04-14 03:32:27 +00:00
[Bug Fix] Resolves issue where loading temporary merchant list "fails" because there aren't any to load.
This commit is contained in:
parent
c078257f70
commit
930079959c
@ -534,6 +534,10 @@ void Zone::LoadTempMerchantData()
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (!results.Success() || results.RowCount() == 0) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
std::vector<std::string> npc_ids;
|
std::vector<std::string> npc_ids;
|
||||||
for (auto row = results.begin(); row != results.end(); ++row) {
|
for (auto row = results.begin(); row != results.end(); ++row) {
|
||||||
npc_ids.push_back(row[0]);
|
npc_ids.push_back(row[0]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user