Skip to content
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

Fix wreckage freezes, plus small tweaks #2969

Merged
merged 4 commits into from Sep 11, 2013

Conversation

Projects
None yet
2 participants
@ianestrachan
Copy link
Contributor

commented Sep 11, 2013

  • Fixes #2926
  • Calculate the wreckage's x and y only once when adding parts to it, since it doesn't change - recalculating it every loop iteration is wasteful
  • smash() is more likely to outright destroy vehicle parts, for more wrecked-up wreckage.

@kevingranade kevingranade merged commit 37b8cf7 into CleverRaven:master Sep 11, 2013

1 check passed

default Merged build finished.
Details

@ianestrachan ianestrachan deleted the ianestrachan:fix-wreckage-freezes branch Sep 11, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.