Partially fix fixedwing takeoff funcs#5677
Conversation
They would all use the unitID of the first fixedwing aircraft. This does NOT solve #5673 (first Sparrow being able to hover mid-air), now all Sparrows have this "ability".
|
I'm not sure how good from a gameplay PoV it is to spread the "ability" to hover, and the coding error doesn't seem to have been that bad in practice (maybe planes take off at weird heights while The First Plane is alive? idk) so this can wait if needed. |
|
Doesn't that mean the functions did nothing, so the bug was caused by them doing something to the first aircraft? Iirc this function was added to make planes more controllable after taking off. |
|
Yes, afaict for 2nd+ plane they do nothing; and for the 1st plane they "work" which involves sometimes freezing mid-air, apparently due to an engine bug. I didn't pay that much attention to handling/controllability differences after the fix. |
|
It looks like you're replacing a NoOP with a bugged function. Presumably the bug has something to do with the signal being sent while the plane has its parameters set to an intermediate state. |
|
Ok well there is a ticket and I can reproduce the issue, so this is pullable. |
They would all use the unitID of the first fixedwing aircraft.
This does NOT solve #5673 (first Sparrow being able to hover mid-air), now all Sparrows have this "ability".