Misc fixes

This commit is contained in:
hondacrx
2022-03-02 10:04:24 -05:00
parent 150b09205b
commit 30a5bcdb4d
7 changed files with 26 additions and 28 deletions
@@ -191,7 +191,7 @@ namespace Game.Movement
{
uint path, cost;
Global.ObjectMgr.GetTaxiPath(taxi[src], taxi[dst], out path, out cost);
if (path > CliDB.TaxiPathNodesByPath.Keys.Max())
if (path >= CliDB.TaxiPathNodesByPath.Keys.Max())
return;
var nodes = CliDB.TaxiPathNodesByPath[path];