From 4a2adece07c59f874948cb79a2ec2d52e4bb5b5e Mon Sep 17 00:00:00 2001 From: historic_bruno Date: Mon, 8 Aug 2011 01:04:18 +0000 Subject: [PATCH] Fixes class types for Atlas pathfinding overlay This was SVN commit r9978. --- source/tools/atlas/GameInterface/View.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/tools/atlas/GameInterface/View.cpp b/source/tools/atlas/GameInterface/View.cpp index 133155f830..03a71a6b02 100644 --- a/source/tools/atlas/GameInterface/View.cpp +++ b/source/tools/atlas/GameInterface/View.cpp @@ -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); } }