File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
GeneralsMD/Code/GameEngine/Source/GameLogic/AI
Generals/Code/GameEngine/Source/GameLogic/AI Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1339,7 +1339,7 @@ void PathfindCell::releaseInfo(void)
13391339 }
13401340
13411341 DEBUG_ASSERTCRASH (m_info->m_prevOpen == nullptr && m_info->m_nextOpen ==0 , (" Shouldn't be linked." ));
1342- DEBUG_ASSERTCRASH (m_info->m_open == nullptr && m_info->m_closed ==0 , (" Shouldn't be linked." ));
1342+ DEBUG_ASSERTCRASH (m_info->m_open ==0 && m_info->m_closed ==0 , (" Shouldn't be linked." ));
13431343 DEBUG_ASSERTCRASH (m_info->m_goalUnitID ==INVALID_ID && m_info->m_posUnitID ==INVALID_ID, (" Shouldn't be occupied." ));
13441344 DEBUG_ASSERTCRASH (m_info->m_goalAircraftID ==INVALID_ID , (" Shouldn't be occupied by aircraft." ));
13451345 if (m_info->m_prevOpen || m_info->m_nextOpen || m_info->m_open || m_info->m_closed ) {
Original file line number Diff line number Diff line change @@ -1354,7 +1354,7 @@ void PathfindCell::releaseInfo(void)
13541354 }
13551355
13561356 DEBUG_ASSERTCRASH (m_info->m_prevOpen == nullptr && m_info->m_nextOpen ==0 , (" Shouldn't be linked." ));
1357- DEBUG_ASSERTCRASH (m_info->m_open == nullptr && m_info->m_closed ==0 , (" Shouldn't be linked." ));
1357+ DEBUG_ASSERTCRASH (m_info->m_open ==0 && m_info->m_closed ==0 , (" Shouldn't be linked." ));
13581358 DEBUG_ASSERTCRASH (m_info->m_goalUnitID ==INVALID_ID && m_info->m_posUnitID ==INVALID_ID, (" Shouldn't be occupied." ));
13591359 DEBUG_ASSERTCRASH (m_info->m_goalAircraftID ==INVALID_ID , (" Shouldn't be occupied by aircraft." ));
13601360 if (m_info->m_prevOpen || m_info->m_nextOpen || m_info->m_open || m_info->m_closed ) {
You can’t perform that action at this time.
0 commit comments