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:
+10
-2
@@ -962,9 +962,17 @@ bool DriveClass::Start_Of_Move(void)
|
||||
/*
|
||||
** If a basic path could be found, but the immediate move destination is
|
||||
** blocked by a friendly temporary blockage, then cause that blockage
|
||||
** to scatter.
|
||||
** to scatter. If the destination is also one cell away, then scatter
|
||||
** regardless of direction.
|
||||
*/
|
||||
CELL cell = Adjacent_Cell(Coord_Cell(Center_Coord()), PrimaryFacing.Current());
|
||||
CELL ourcell = Coord_Cell(Center_Coord());
|
||||
CELL navcell = As_Cell(NavCom);
|
||||
CELL cell = -1;
|
||||
if (::Distance(ourcell, navcell) < 2) {
|
||||
cell = navcell;
|
||||
} else {
|
||||
cell = Adjacent_Cell(ourcell, PrimaryFacing.Current());
|
||||
}
|
||||
if (Map.In_Radar(cell)) {
|
||||
if (Can_Enter_Cell(cell) == MOVE_TEMP) {
|
||||
CellClass * cellptr = &Map[cell];
|
||||
|
||||
Reference in New Issue
Block a user