mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
win64: misc pointer truncation fixes
This commit is contained in:
@@ -1222,7 +1222,7 @@ float CAI_Navigator::GetPathTimeToGoal()
|
||||
AI_PathNode_t CAI_Navigator::GetNearestNode()
|
||||
{
|
||||
#ifdef WIN32
|
||||
COMPILE_TIME_ASSERT( (int)AIN_NO_NODE == NO_NODE );
|
||||
COMPILE_TIME_ASSERT( (intp)AIN_NO_NODE == NO_NODE );
|
||||
#endif
|
||||
return (AI_PathNode_t)(intp)( GetPathfinder()->NearestNodeToNPC() );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user