diff options
author | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-04 17:43:37 +0200 |
---|---|---|
committer | Elias Fleckenstein <eliasfleckenstein@web.de> | 2020-10-04 17:43:37 +0200 |
commit | 044a12666e6140f15e073f528a9168348554dc52 (patch) | |
tree | 79c3b96fb185c1499346f5109e49884a129702c7 /src/client/client.cpp | |
parent | b9f8f0a232d9d00a323084e0e4807b3e3469720d (diff) | |
download | dragonfireclient-044a12666e6140f15e073f528a9168348554dc52.tar.xz |
Added Tracers, NoSlow and NoForceRotate; GUI Colors changed
Diffstat (limited to 'src/client/client.cpp')
-rw-r--r-- | src/client/client.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/client/client.cpp b/src/client/client.cpp index db80beb9f..d65dc510f 100644 --- a/src/client/client.cpp +++ b/src/client/client.cpp @@ -932,9 +932,9 @@ void Client::Send(NetworkPacket* pkt) // Will fill up 12 + 12 + 4 + 4 + 4 bytes void writePlayerPos(LocalPlayer *myplayer, ClientMap *clientMap, NetworkPacket *pkt) -{ - v3f pf = myplayer->getPosition() * 100; - v3f sf = myplayer->getSpeed() * 100; +{ + v3f pf = myplayer->getLegitPosition() * 100; + v3f sf = myplayer->getLegitSpeed() * 100; s32 pitch = myplayer->getPitch() * 100; s32 yaw = myplayer->getYaw() * 100; u32 keyPressed = myplayer->keyPressed; |