mirror of
https://github.com/jmarshall23/CnC_Remastered_Collection.git
synced 2026-08-18 09:04:12 +02:00
Patch 1.01 Merge branch 'master' of https://github.com/electronicarts/CnC_Remastered_Collection
# Conflicts, ignored these upstream changes: # REDALERT/MiscAsm.cpp # REDALERT/WIN32LIB/DrawMisc.cpp
This commit is contained in:
@@ -521,8 +521,8 @@ void DriveClass::Assign_Destination(TARGET target)
|
||||
** facility is currently not involved with some other unit (radio or unloading).
|
||||
*/
|
||||
if (b && *b == STRUCT_REPAIR) {
|
||||
if (b->In_Radio_Contact()) {
|
||||
target = 0;
|
||||
if (b->In_Radio_Contact() && (b->Contact_With_Whom() != this)) {
|
||||
ArchiveTarget = target;
|
||||
} else {
|
||||
|
||||
/*
|
||||
@@ -1598,12 +1598,18 @@ void DriveClass::Mark_Track(COORDINATE headto, MarkType type)
|
||||
|
||||
if (TrackIndex < cellidx && cellidx != -1) {
|
||||
COORDINATE offset = Smooth_Turn(ptr[cellidx].Offset, &dir);
|
||||
Map[Coord_Cell(offset)].Flag.Occupy.Vehicle = value;
|
||||
CELL cell = Coord_Cell(offset);
|
||||
if ((unsigned)cell < MAP_CELL_TOTAL) {
|
||||
Map[cell].Flag.Occupy.Vehicle = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Map[Coord_Cell(headto)].Flag.Occupy.Vehicle = value;
|
||||
CELL cell = Coord_Cell(headto);
|
||||
if ((unsigned)cell < MAP_CELL_TOTAL) {
|
||||
Map[cell].Flag.Occupy.Vehicle = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user