diff options
author | Alex <can15@narod.ru> | 2015-08-05 00:25:18 +0300 |
---|---|---|
committer | Alex <can15@narod.ru> | 2015-08-05 00:25:18 +0300 |
commit | 1b4818684ff21df89ba8f5d39fcb10707010bcd1 (patch) | |
tree | 8e7a3c9d2b2673629a0a58da1b84dd52bfd25f39 /src | |
parent | 747ea7ca2c2b757dc9c5a672746d801a8365ee98 (diff) |
Fixed load taxi nodes.
Spell nodes not have prices.
to #12832
Diffstat (limited to 'src')
-rw-r--r-- | src/server/game/DataStores/DBCStores.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/DataStores/DBCStores.cpp b/src/server/game/DataStores/DBCStores.cpp index 5cd9b363ae0..d9061dfb106 100644 --- a/src/server/game/DataStores/DBCStores.cpp +++ b/src/server/game/DataStores/DBCStores.cpp @@ -600,7 +600,7 @@ void LoadDBCStores(const std::string& dataPath) for (TaxiPathSetForSource::const_iterator dest_i = src_i->second.begin(); dest_i != src_i->second.end(); ++dest_i) { // not spell path - if (spellPaths.find(dest_i->second.ID) == spellPaths.end()) + if (dest_i->second.price || spellPaths.find(dest_i->second.ID) == spellPaths.end()) { ok = true; break; |