Skip to content

Fix for fall damage bug #1601

Jesse Maas requested to merge veloren/dev/veloren:jcmaas/fix-fall-damage into master
  • [Y] By opening this merge request, you agree to release your code and all other changes under the GPL 3 license and to abide by the terms set by this license.
  • [N] Migrations have been added if applicable
  • [N] Significant changes of this merge request have been added to the changelog.

It would sometimes happen that the server received a velocity update message from the client, who just calculated that the player hit the ground, before the server itself had realized the player hit the ground. The velocity would then be set to 0 before the fall damage was calculated. This is fixed by emitting a LandOnGround event when a large speed update is received from the client.

Merge request reports