Reply to missle_source - v1.08 change?
If you don't have an account, just leave the password field blank.
Dink is buggier than I remember
As a reminder, &missle_source is a special global variable that holds the value of the last missile_brain to hit something.
However, it is only set one place in the code (when a missle checks to see if it hit something), and is never cleared.
I created a test to confirm my fears...
While a bomb is blowing up, I punch a rock with a standard missle_source check to disappear. The rock disappears, even though it isn't anywhere near the bomb, because it picks up the current missle source.
What would be the best way to fix this?
One idea is to make missle_source reflect the attacking sprite for every kind of attack, not just missiles.
Can anyone think of any possible side-effects that might result from that?

As a reminder, &missle_source is a special global variable that holds the value of the last missile_brain to hit something.
However, it is only set one place in the code (when a missle checks to see if it hit something), and is never cleared.
I created a test to confirm my fears...
While a bomb is blowing up, I punch a rock with a standard missle_source check to disappear. The rock disappears, even though it isn't anywhere near the bomb, because it picks up the current missle source.
What would be the best way to fix this?
One idea is to make missle_source reflect the attacking sprite for every kind of attack, not just missiles.
Can anyone think of any possible side-effects that might result from that?