mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-29 22:21:30 +00:00
Merge pull request #1522 from EQEmu/feature/temp_merchant_list_bug_fix
[Bug Fix] Resolves issue where loading temporary merchant list "fails" because there aren't any to load.
This commit is contained in:
commit
31ab1d4287
@ -534,6 +534,10 @@ void Zone::LoadTempMerchantData()
|
||||
)
|
||||
);
|
||||
|
||||
if (!results.Success() || results.RowCount() == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
std::vector<std::string> npc_ids;
|
||||
for (auto row = results.begin(); row != results.end(); ++row) {
|
||||
npc_ids.push_back(row[0]);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user