diff options
| author | sfan5 <sfan5@live.de> | 2022-01-09 18:46:36 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-09 18:46:36 +0100 |
| commit | 5eb45e1ea03c6104f007efec6dd9c351f310193d (patch) | |
| tree | 28a40addf99493aedfbf67e4d85fa6cf88723419 /src/client/localplayer.h | |
| parent | 76dbd0d2d04712dcad4f7c6afecb97fa8d662d6d (diff) | |
| download | minetest-5eb45e1ea03c6104f007efec6dd9c351f310193d.tar.xz | |
Restore pass-through of direction keys (#11924)
This moves relevant code into the PlayerControl class and gets rid of separate keyPressed variable.
Diffstat (limited to 'src/client/localplayer.h')
| -rw-r--r-- | src/client/localplayer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/localplayer.h b/src/client/localplayer.h index 13b35ae4e..577be2803 100644 --- a/src/client/localplayer.h +++ b/src/client/localplayer.h @@ -86,7 +86,7 @@ public: v3f last_speed; float last_pitch = 0.0f; float last_yaw = 0.0f; - unsigned int last_keyPressed = 0; + u32 last_keyPressed = 0; u8 last_camera_fov = 0; u8 last_wanted_range = 0; |
