aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.cpp
diff options
context:
space:
mode:
authorladevieq <qladevie@wanadev.fr>2021-08-05 14:01:28 +0200
committerladevieq <qladevie@wanadev.fr>2021-08-05 14:01:28 +0200
commit75efba4a1e581f180d0dedf162eb1f1d18dc091c (patch)
tree9f7bd13891279ead0e9c249c2e73f6e3dd4fa9a0 /src/main.cpp
parent3465afcc635184cf3a72e912ef9fc927099cc661 (diff)
Add space key to xcb window
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 116dee4..21702db 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -116,7 +116,7 @@ int main() {
}
case EVENT_TYPES::KEY_PRESS: {
auto move_speed = 0.01f * delta_time;
- if (wnd.keyboard[KEYS::LSHIFT] || wnd.keyboard[KEYS::RSHIFT] || wnd.keyboard[KEYS::SHIFT]) {
+ if (wnd.keyboard[KEYS::LSHIFT] || wnd.keyboard[KEYS::RSHIFT]) {
move_speed *= 10.f;
}