Skip to content

Commit 7bd2ac5

Browse files
Bart RoossienMauller
authored andcommitted
Fix m_open incorrectly being initialized to true in startPathFind
1 parent e68522e commit 7bd2ac5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

GeneralsMD/Code/GameEngine/Source/GameLogic/AI/AIPathfind.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1243,7 +1243,7 @@ Bool PathfindCell::startPathfind( PathfindCell *goalCell )
12431243
if (goalCell) {
12441244
m_info->m_totalCost = costToGoal( goalCell );
12451245
}
1246-
m_info->m_open = TRUE;
1246+
m_info->m_open = FALSE;
12471247
m_info->m_closed = FALSE;
12481248
return true;
12491249
}

0 commit comments

Comments
 (0)