Compile bug fixes.

This commit is contained in:
whipowill
2022-05-18 16:25:09 -05:00
parent 20bb616804
commit 7b55e7aec4
4 changed files with 14 additions and 14 deletions

View File

@@ -66,7 +66,7 @@ class TravelNodePath
//Constructor
TravelNodePath(float distance = 0.1f, float extraCost = 0, uint8 pathType = (uint8)TravelNodePathType::walk, uint32 pathObject = 0, bool calculated = false,
std::vector<uint8> maxLevelCreature = { 0, 0, 0 }, float swimDistance = 0)
: extraCost(extraCost), calculated(calculated), distance(distance), maxLevelCreature(maxLevelCreature), pathType(TravelNodePathType(pathType)), swimDistance(swimDistance), pathObject(pathObject) // reorder args - whipowill
: extraCost(extraCost), calculated(calculated), distance(distance), maxLevelCreature(maxLevelCreature), swimDistance(swimDistance), pathType(TravelNodePathType(pathType)), pathObject(pathObject) // reorder args - whipowill
{
if (pathType != (uint8)TravelNodePathType::walk)
complete = true;