This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 9978 for ps


Ignore:
Timestamp:
08/08/11 03:04:18 (13 years ago)
Author:
ben
Message:

Fixes class types for Atlas pathfinding overlay

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/tools/atlas/GameInterface/View.cpp

    r9559 r9978  
    239239            // Kind of a hack to make it update the terrain grid
    240240            ICmpPathfinder::Goal goal = { ICmpPathfinder::Goal::POINT, fixed::Zero(), fixed::Zero() };
    241             u8 passClass = cmpPathfinder->GetPassabilityClass(m_DisplayPassability);
    242             u8 costClass = cmpPathfinder->GetCostClass("default");
     241            ICmpPathfinder::pass_class_t passClass = cmpPathfinder->GetPassabilityClass(m_DisplayPassability);
     242            ICmpPathfinder::cost_class_t costClass = cmpPathfinder->GetCostClass("default");
    243243            cmpPathfinder->SetDebugPath(fixed::Zero(), fixed::Zero(), goal, passClass, costClass);
    244244        }
Note: See TracChangeset for help on using the changeset viewer.