aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp2
-rw-r--r--src/window.cpp3
2 files changed, 4 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;
}
diff --git a/src/window.cpp b/src/window.cpp
index a5b1032..98495fd 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1,4 +1,7 @@
#include "window.hpp"
+
+#include <iostream>
+
#include "vk-renderer.hpp"
#include "utils.hpp"