Fixed crashes and errors when loading into world.
This commit is contained in:
@@ -33,6 +33,8 @@ namespace Game.Entities
|
||||
|
||||
public void InitTaxiNodesForLevel(Race race, Class chrClass, uint level)
|
||||
{
|
||||
m_taximask = new byte[((CliDB.TaxiNodesStorage.GetNumRows() - 1) / 8) + 1];
|
||||
|
||||
// class specific initial known nodes
|
||||
if (chrClass == Class.Deathknight)
|
||||
{
|
||||
@@ -105,6 +107,8 @@ namespace Game.Entities
|
||||
|
||||
public void LoadTaxiMask(string data)
|
||||
{
|
||||
m_taximask = new byte[((CliDB.TaxiNodesStorage.GetNumRows() - 1) / 8) + 1];
|
||||
|
||||
var split = new StringArray(data, ' ');
|
||||
|
||||
int index = 0;
|
||||
|
||||
Reference in New Issue
Block a user