August 6th Patch Update

Accumulated DLL source code changes since June 22nd patch
This commit is contained in:
PG-SteveT
2020-08-06 09:44:54 -07:00
parent 93a1af2eff
commit ae72fce5dd
76 changed files with 1071 additions and 210 deletions
+8 -1
View File
@@ -1266,7 +1266,14 @@ void TeamClass::Coordinate_Move(void)
unit->Assign_Mission(MISSION_MOVE);
}
if (unit->NavCom != Target) {
unit->Assign_Destination(Target);
TARGET target = Target;
if (unit->What_Am_I() == RTTI_AIRCRAFT) {
AircraftClass* aircraft = (AircraftClass *)unit;
if (!aircraft->Class->IsFixedWing && !aircraft->Is_LZ_Clear(target)) {
target = aircraft->New_LZ(target, true);
}
}
unit->Assign_Destination(target);
}
finished = false;
} else {