diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-03-20 22:14:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-03-21 01:36:40 +0300 |
commit | 0e3549dd92ac1eac1916b3f5110036ab59fe2fec (patch) | |
tree | 85011f9be2576f4daeaae9513be24d50a5dae93a /src/being/localplayer.h | |
parent | bd6ced98dfbe93fce5c143cdcd6fa6e8c3f4f6a8 (diff) | |
download | mv-0e3549dd92ac1eac1916b3f5110036ab59fe2fec.tar.gz mv-0e3549dd92ac1eac1916b3f5110036ab59fe2fec.tar.bz2 mv-0e3549dd92ac1eac1916b3f5110036ab59fe2fec.tar.xz mv-0e3549dd92ac1eac1916b3f5110036ab59fe2fec.zip |
Possible fix for desync in moving
Handle player stop packet always.
Check desync always if tile changed client side.
Check desync always if server move response packet received.
Removed unused configuration option.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h index d8b3bdf92..9847f7970 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -277,6 +277,9 @@ class LocalPlayer final : public Being, void fixPos(); + void setTileCoords(const int x, + const int y) restrict2 override final; + /** * Sets the map the being is on */ |