mirror of
https://github.com/electronicarts/CnC_Remastered_Collection.git
synced 2026-07-04 09:13:13 -04:00
August 6th Patch Update
Accumulated DLL source code changes since June 22nd patch
This commit is contained in:
+16
-2
@@ -1423,6 +1423,8 @@ void FootClass::Per_Cell_Process(bool center)
|
||||
}
|
||||
// }
|
||||
|
||||
Map[Coord_Cell(Coord)].Goodie_Check(this, true);
|
||||
|
||||
TechnoClass::Per_Cell_Process(center);
|
||||
}
|
||||
|
||||
@@ -1635,8 +1637,20 @@ int FootClass::Mission_Enter(void)
|
||||
** Since there is no potential object to enter, then abort this
|
||||
** mission with some default standby mission.
|
||||
*/
|
||||
ArchiveTarget = TARGET_NONE;
|
||||
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 {
|
||||
ArchiveTarget = TARGET_NONE;
|
||||
Enter_Idle_Mode();
|
||||
}
|
||||
}
|
||||
}
|
||||
return(TICKS_PER_SECOND/2);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user