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

Unit/SpeedRate - Client Soft-Crash (disconnect) #18317

Merged
merged 2 commits into from Nov 30, 2016
Merged

Unit/SpeedRate - Client Soft-Crash (disconnect) #18317

merged 2 commits into from Nov 30, 2016

Conversation

Palabola
Copy link
Contributor

@Palabola Palabola commented Nov 26, 2016

Changes proposed:

Target branch(es): master

Issues addressed: Closes # (insert issue tracker number)

Tests performed: (Does it build, tested in-game, etc.)

Known issues and TODO list: (add/remove lines as needed)

//: # (DEPRECATION NOTICE Instead of creating new PRs to the (old) 6.x branch, make sure the target branch is master instead of 6.x.)
//: # (NOTE Enable the setting "[√] Allow edits from maintainers." when creating your pull request (if not enabled already).)
//: # (NOTE If this PR only contains SQL files, open a new issue instead and post or link the SQL there.)
//: # (SUGGESTION When adding new SQL files, name them 9999_99_99_99_db_name.sql to reduce the chance of possible merge conflicts.)

Solve case where more than 100% slow cause client soft crash.

Solve case where more than 100% slow cause client soft crash.
if (rate < 0)
rate = 0.0f;
if (rate <= 0)
rate = 0.001f;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rate cap determined by sniffs is 0.01

@Shauren Shauren merged commit 0b6422b into TrinityCore:master Nov 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants