aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2015-08-07 22:50:49 +0200
committerjackpoz <giacomopoz@gmail.com>2015-08-07 22:50:49 +0200
commita8f447b9eff366129296d6fcad97bca1767d2fd5 (patch)
tree5380f9f9d3b076852fea2294d9eba04f2f722967 /src
parentfed67f5bc1d531f51b110915e2384333e342c1ed (diff)
parent1b4818684ff21df89ba8f5d39fcb10707010bcd1 (diff)
Merge pull request #15219 from SeTM/patch-2
Core/Spells: Fix some taxi paths not being available to players. This allows players to use the taxi paths used already by spells 29376, 29377, 31752, 34578, 47851. Fixes https://github.com/TrinityCore/TrinityCore/issues/12832
Diffstat (limited to 'src')
-rw-r--r--src/server/game/DataStores/DBCStores.cpp2
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;