diff options
Diffstat (limited to 'src/game/client')
| -rw-r--r-- | src/game/client/entity/camera.cc | 2 | ||||
| -rw-r--r-- | src/game/client/game.cc | 2 | ||||
| -rw-r--r-- | src/game/client/toggles.cc | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/game/client/entity/camera.cc b/src/game/client/entity/camera.cc index 8cd08fd..ac8ded9 100644 --- a/src/game/client/entity/camera.cc +++ b/src/game/client/entity/camera.cc @@ -104,7 +104,7 @@ void camera::update(void) auto client_angles = camera::angles; - if(!toggles::get(TOGGLE_PM_FLIGHT) && globals::dimension->entities.try_get<Grounded>(globals::player)) { + if(!toggles::get(TOGGLE_PM_FLIGHT)) { client_angles[2] = math::radians(-camera::roll_angle.get_value() * glm::dot(velocity.value / PMOVE_MAX_SPEED_GROUND, right_vector)); } diff --git a/src/game/client/game.cc b/src/game/client/game.cc index 9b55b4b..9a2cb56 100644 --- a/src/game/client/game.cc +++ b/src/game/client/game.cc @@ -613,7 +613,7 @@ void client_game::render(void) for(const auto [entity, collision, head, transform] : group.each()) { if(entity == globals::player) { // Don't render ourselves - // continue; + continue; } glm::fvec3 forward; diff --git a/src/game/client/toggles.cc b/src/game/client/toggles.cc index 1b46960..0ad7a27 100644 --- a/src/game/client/toggles.cc +++ b/src/game/client/toggles.cc @@ -106,7 +106,7 @@ void toggles::init(void) toggle_infos[TOGGLE_CHUNK_AABB].description = "chunk Borders"; toggle_infos[TOGGLE_CHUNK_AABB].glfw_keycode = GLFW_KEY_G; - toggle_infos[TOGGLE_CHUNK_AABB].is_enabled = true; + toggle_infos[TOGGLE_CHUNK_AABB].is_enabled = false; toggle_infos[TOGGLE_METRICS_UI].description = std::string_view(); toggle_infos[TOGGLE_METRICS_UI].glfw_keycode = GLFW_KEY_V; |
