Skip to content

Conversation

Necktrox
Copy link

Description

This PR clamps the rain level value between 0.0 and 10.0. Negative values are broken and usually show no signs of rain, they neither let the rain go upwards and it makes no sense to set it lower than 0.0 anyway. The upper limit 10.0 is a personal choice, because anything above causes game lag and doesn't look like rain anymore (looks like TV noise).

Issue: 9622: [Crash] setRainLevel(-9999999999) crash client

@jushar jushar merged commit fe749b5 into multitheftauto:master May 12, 2017
@qaisjp qaisjp added the enhancement New feature or request label May 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants