X-Git-Url: http://git.localhorst.tv/?a=blobdiff_plain;f=src%2Fclient%2Fnet.cpp;h=1c13f9e2912c7c79971a5042806079194bf0ab5e;hb=4fbf5a3c1b0e530706023f5fc4be2f68d30ea645;hp=18f593ac5831d218f0019723c511ff977a7e2ffe;hpb=b9462143d9b2fd1f54aa3b4ec32eecb62c01615f;p=blank.git diff --git a/src/client/net.cpp b/src/client/net.cpp index 18f593a..1c13f9e 100644 --- a/src/client/net.cpp +++ b/src/client/net.cpp @@ -4,6 +4,7 @@ #include "NetworkedInput.hpp" #include "../app/init.hpp" +#include "../geometry/distance.hpp" #include "../io/WorldSave.hpp" #include "../net/Packet.hpp" #include "../world/Chunk.hpp" @@ -398,7 +399,6 @@ void NetworkedInput::MergePlayerCorrection(uint16_t seq, const EntityState &corr vector col; while (entry != end) { - replay.Velocity(entry->state.velocity); SetMovement(entry->movement); GetWorld().Update(replay, entry->delta_t); entry->state.chunk_pos = replay.GetState().chunk_pos;