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

Underwater fog/caustics/turbulence effects don't disappear when they should #841

Closed
crabmusket opened this Issue Oct 19, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@crabmusket
Contributor

crabmusket commented Oct 19, 2014

Originally mentioned in #806. Reproduce this issue by

  • Loading a mission with water
  • Going underwater so the effects appear
  • EITHER
    • Deleting the water object, if it is the only one in the level
    • Exiting the mission and loading another mission - the effects will remain enabled

Problem is caused because WaterObject is responsible for updating the effect, and cannot respond to events appropriately. See updateUnderwaterEffect.

Also, possibly revise the system so the effect name doesn't have to be hardcoded into the source.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment