diff --git a/ScuffedMinecraft/ScuffedMinecraft.vcxproj b/ScuffedMinecraft/ScuffedMinecraft.vcxproj index 1461acf..0a87fb3 100644 --- a/ScuffedMinecraft/ScuffedMinecraft.vcxproj +++ b/ScuffedMinecraft/ScuffedMinecraft.vcxproj @@ -130,6 +130,7 @@ Console true glfw3.lib;opengl32.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) + /ignore:4099 %(AdditionalOptions) @@ -148,6 +149,7 @@ true true glfw3.lib;opengl32.lib;$(CoreLibraryDependencies);%(AdditionalDependencies) + /ignore:4099 %(AdditionalOptions) diff --git a/ScuffedMinecraft/src/Camera.cpp b/ScuffedMinecraft/src/Camera.cpp index 1b2ddf2..621906a 100644 --- a/ScuffedMinecraft/src/Camera.cpp +++ b/ScuffedMinecraft/src/Camera.cpp @@ -38,9 +38,9 @@ void Camera::ProcessKeyboard(Camera_Movement direction, float deltaTime) if (direction == RIGHT) Position += Right * velocity; if (direction == UP) - Position += Up * velocity; + Position.y += 1 * velocity; if (direction == DOWN) - Position -= Up * velocity; + Position.y -= 1 * velocity; if (direction == FORWARD_NO_Y) { glm::vec3 moveDir = Front;