-
Notifications
You must be signed in to change notification settings - Fork 557
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
Supercrewmate interaction fixes #918
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conflicts need to be resolved. Also, style pass.
if (entities[entity].rule == 6) | ||
{ | ||
flipped = false; | ||
entities[entity].rule = 7; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entities[entity].rule = 7; | |
entities[entity].rule = 7; |
else | ||
{ | ||
flipped = true; | ||
entities[entity].rule = 6; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
entities[entity].rule = 6; | |
entities[entity].rule = 6; |
// entities[_i].drawframe += 6; | ||
//} | ||
entities[_i].drawframe++; | ||
if (entities[_i].rule == 7 && entities[_i].type == 14) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (entities[_i].rule == 7 && entities[_i].type == 14) { | |
if (entities[_i].rule == 7 && entities[_i].type == 14) | |
{ |
@@ -4818,7 +4864,10 @@ void entityclass::collisioncheck(int i, int j, bool scm /*= false*/) | |||
case 3: //Entity to entity | |||
if(entities[j].onentity>0) | |||
{ | |||
if (entitycollide(i, j)) entities[j].state = entities[j].onentity; | |||
if (entitycollide(i, j)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (entitycollide(i, j)) { | |
if (entitycollide(i, j)) | |
{ |
Changes:
Supercrewmates now interact with gravity lines, gravity tokens and oneways correctly. They're now moved by horizontal moving platforms and conveyors.
Closes #901.
Legal Stuff:
By submitting this pull request, I confirm that...
CONTRIBUTORS
file and the "GitHub Friends"section of the credits for all of said releases, but will NOT be compensated
for these changes