-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect logic in Ship::Move breaks Command::STOP #29
Comments
I have retested experimental with this fix, and it doesn't fix the problem. I'm still investigating. |
I have a fix for this, but a later test fails now. |
It's been a while and I'm just getting back up to speed. Is this bug still a thing? |
|
In Delta, all thrusters also have some reverse thrust. So down to turn around intentionally doesn't do anything, and reverse thrusters are just an extra bonus - you don't actually need them to go backwards. |
Thanks for the feedback!
|
Is there an existing issue for this?
Describe the bug
When the AI decides to stop the ship, sometimes it can't. This happens due to an error in the new thrusting logic. Sometimes, the code will ignore dragAcceleration, which is the variable Ship::Move uses to implement Command::STOP when the ship is almost stopped. This prevents ships from boarding, landing, assisting, and a variety of other things, if they happen to be moving at just the right speed. That's why the integration tests are failing.
Steps to Reproduce
Run the integration tests a few times on Ubuntu 20 or 22 using GL. Watch
Capture Uncapturable With Capturable Override
fail.Expected Behavior
Ships can stop. All integration tests should pass.
Screenshots
No response
Link to save file
No response
Operating System
Ubuntu 22
Game Source
Built from source
Game Version
e1004d1
Additional Information
This is the fix:
I don't want to do a PR until the conflicts between master and experimental are resolved.
The text was updated successfully, but these errors were encountered: