electronicarts / CnC_Remastered_Collection

Other
18.33k stars 4.74k forks source link

TD Bug: Gunboats not firing #93

Open huwpascoe opened 4 years ago

huwpascoe commented 4 years ago

Solved the longtime mystery of why the gunboats aren't firing in mission 9. For the longest time, I believed it was intentional, but now I think it was a bug all along! The unit is unlimbo'd while still off the map so it's never "locked", and is left in an invalid state compared to a regularly placed gunboat.

REINF.CPP:242


case SOURCE_SHIPPING:
    cell = Map.Calculated_Cell(source, teamtype->House);
    object->IsALoaner = true;
    if (object->Unlimbo(Cell_Coord(cell), DIR_W)) {
        object->IsLocked = true; // yesfish: Fix for gunboat not firing
MooSee2 commented 4 years ago

I thought it was a lame intentional thing to show the power of the obelisk of light. This is great!