Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,10 @@ UpdateSleepTime DozerAIUpdate::update( void )
if( currentTask == DOZER_TASK_REPAIR &&
TheActionManager->canRepairObject( getObject(), targetObject, getLastCommandSource() ) == FALSE )
invalidTask = TRUE;
#if !RETAIL_COMPATIBLE_CRC
else if (currentTask == DOZER_TASK_BUILD && targetObject == NULL)
invalidTask = TRUE;
#endif

// cancel the task if it's now invalid
if( invalidTask == TRUE )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ UpdateSleepTime WorkerAIUpdate::update( void )
if( currentTask == DOZER_TASK_REPAIR &&
TheActionManager->canRepairObject( getObject(), targetObject, getLastCommandSource() ) == FALSE )
invalidTask = TRUE;
#if !RETAIL_COMPATIBLE_CRC
else if (currentTask == DOZER_TASK_BUILD && targetObject == NULL)
invalidTask = TRUE;
#endif

// cancel the task if it's now invalid
if( invalidTask == TRUE )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1604,6 +1604,10 @@ UpdateSleepTime DozerAIUpdate::update( void )
if( currentTask == DOZER_TASK_REPAIR &&
TheActionManager->canRepairObject( getObject(), targetObject, getLastCommandSource() ) == FALSE )
invalidTask = TRUE;
#if !RETAIL_COMPATIBLE_CRC
else if (currentTask == DOZER_TASK_BUILD && targetObject == NULL)
invalidTask = TRUE;
#endif

// cancel the task if it's now invalid
if( invalidTask == TRUE )
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,10 @@ UpdateSleepTime WorkerAIUpdate::update( void )
if( currentTask == DOZER_TASK_REPAIR &&
TheActionManager->canRepairObject( getObject(), targetObject, getLastCommandSource() ) == FALSE )
invalidTask = TRUE;
#if !RETAIL_COMPATIBLE_CRC
else if (currentTask == DOZER_TASK_BUILD && targetObject == NULL)
invalidTask = TRUE;
#endif

// cancel the task if it's now invalid
if( invalidTask == TRUE )
Expand Down
Loading