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
This commit is contained in:
jackpoz
2015-08-07 22:50:49 +02:00

View File

@@ -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;