fs2open.github.com icon indicating copy to clipboard operation
fs2open.github.com copied to clipboard

ai_do_objects_undocked_stuff when objects are already undocked

Open DefCynodont opened this issue 1 year ago • 4 comments

Regarding this warning, Call to ai_do_objects_undocked_stuff when objects are already undocked! Trace out and fix! Calling Jettison Cargo on a ship with nothing docked to it seems to trigger it, furthermore, calling the SEXP AI_Undock on undocked ships should ideally do nothing and have the AI cancel the order.

Could this be fixed in code?

DefCynodont avatar May 22 '24 21:05 DefCynodont

Yep, will take a look.

Goober5000 avatar May 23 '24 02:05 Goober5000

I tried both scenarios using the attached test mission, and both appear to function as expected. Start the mission and wait for the directives to show up. Press 1 to jettison and 2 to undock. undock_test.fs2.txt

Goober5000 avatar May 23 '24 02:05 Goober5000

Any additional information?

Goober5000 avatar May 29 '24 15:05 Goober5000

Bumping for a response, especially as we are now in the run-up to 24.2.

Goober5000 avatar Jul 03 '24 19:07 Goober5000