August 6th Patch Update
Accumulated DLL source code changes since June 22nd patch
This commit is contained in:
parent
93a1af2eff
commit
ae72fce5dd
76 changed files with 1071 additions and 210 deletions
|
@ -1741,7 +1741,19 @@ int FootClass::Mission_Enter(void)
|
|||
** Since there is no potential object to enter, then abort this
|
||||
** mission with some default standby mission.
|
||||
*/
|
||||
Enter_Idle_Mode();
|
||||
if (MissionQueue == MISSION_NONE) {
|
||||
/*
|
||||
** If this is a harvester, then return to harvesting.
|
||||
** Set a hacky target so we know to skip to the proper state.
|
||||
*/
|
||||
if (What_Am_I() == RTTI_UNIT && ((UnitClass*)this)->Class->IsToHarvest) {
|
||||
Assign_Mission(MISSION_HARVEST);
|
||||
Assign_Target(As_Target());
|
||||
Assign_Destination(TARGET_NONE);
|
||||
} else {
|
||||
Enter_Idle_Mode();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return(MissionControl[Mission].Normal_Delay() + Random_Pick(0, 2));
|
||||
|
|
Reference in a new issue