More Cleanups

This commit is contained in:
hondacrx
2021-06-08 12:56:09 -04:00
parent 302a1f293c
commit 52e43853fe
58 changed files with 223 additions and 257 deletions
+1 -2
View File
@@ -137,8 +137,7 @@ namespace Game.Entities
*/
// Find if we have a direct path
uint pathId, goldCost;
Global.ObjectMgr.GetTaxiPath(from.Id, to.Id, out pathId, out goldCost);
Global.ObjectMgr.GetTaxiPath(from.Id, to.Id, out uint pathId, out _);
if (pathId != 0)
{
shortestPath.Add(from.Id);