Skip to content

Commit

Permalink
[12227] Add taxi-path exception to EbonHold(map0) for alliance
Browse files Browse the repository at this point in the history
Unclear if this must be considered a problem with DBC values, or whether we need to change the use of TaxiNodes.dbc

Signed-off-by: Schmoozerd <schmoozerd@cmangos>
  • Loading branch information
NeatElves authored and Schmoozerd committed Oct 23, 2012
1 parent 648e804 commit e2dcc41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/game/DBCStores.cpp
Expand Up @@ -639,6 +639,10 @@ void LoadDBCStores(const std::string& dataPath)
// old continent node (+ nodes virtually at old continents, check explicitly to avoid loading map files for zone info)
if (node->map_id < 2 || i == 82 || i == 83 || i == 93 || i == 94)
sOldContinentsNodesMask[field] |= submask;

// Hack DK node at Ebon Hold (unclear if bad dbc data or we need to revisit our checks in ObjectMgr::GetNearestTaxiNode )
if (i == 315)
(const_cast<TaxiNodesEntry*>(node))->MountCreatureID[1] = node->MountCreatureID[0];
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/shared/revision_nr.h
@@ -1,4 +1,4 @@
#ifndef __REVISION_NR_H__
#define __REVISION_NR_H__
#define REVISION_NR "12226"
#define REVISION_NR "12227"
#endif // __REVISION_NR_H__

0 comments on commit e2dcc41

Please sign in to comment.