mirror of
https://github.com/1dot13/source.git
synced 2026-08-12 14:10:23 +02:00
Fix UINT8 references to pSoldier->ubID to UINT16
This commit is contained in:
+1
-1
@@ -2075,7 +2075,7 @@ bool AStarPathfinder::IsSomeoneInTheWay()
|
||||
if (fPathAroundPeople && ( (CurrentNode != DestNode) || fCopyReachable) )
|
||||
{
|
||||
// ATE: ONLY cancel if they are moving.....
|
||||
UINT8 ubMerc = WhoIsThere2( CurrentNode, pSoldier->pathing.bLevel);
|
||||
UINT16 ubMerc = WhoIsThere2( CurrentNode, pSoldier->pathing.bLevel);
|
||||
if ( ubMerc < NOBODY && ubMerc != pSoldier->ubID )
|
||||
{
|
||||
// Check for movement....
|
||||
|
||||
Reference in New Issue
Block a user