Fixes class types for Atlas pathfinding overlay
This was SVN commit r9978.
This commit is contained in:
parent
065e13b4d5
commit
4a2adece07
@ -238,8 +238,8 @@ void ViewGame::Render()
|
||||
cmpPathfinder->SetDebugOverlay(true);
|
||||
// Kind of a hack to make it update the terrain grid
|
||||
ICmpPathfinder::Goal goal = { ICmpPathfinder::Goal::POINT, fixed::Zero(), fixed::Zero() };
|
||||
u8 passClass = cmpPathfinder->GetPassabilityClass(m_DisplayPassability);
|
||||
u8 costClass = cmpPathfinder->GetCostClass("default");
|
||||
ICmpPathfinder::pass_class_t passClass = cmpPathfinder->GetPassabilityClass(m_DisplayPassability);
|
||||
ICmpPathfinder::cost_class_t costClass = cmpPathfinder->GetCostClass("default");
|
||||
cmpPathfinder->SetDebugPath(fixed::Zero(), fixed::Zero(), goal, passClass, costClass);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user