From ce025500ec2873d1a826f8ec62ee6ee0405fa282 Mon Sep 17 00:00:00 2001 From: osamu-kj <64986162+0xdeadbeer@users.noreply.github.com> Date: Sat, 13 May 2023 16:01:44 +0200 Subject: [PATCH] User Input: Fix small issue with the 'k' shortcut --- src/engine/engine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/engine/engine.cpp b/src/engine/engine.cpp index 757f694..0fedbdd 100644 --- a/src/engine/engine.cpp +++ b/src/engine/engine.cpp @@ -149,9 +149,8 @@ bool Engine::input_handle_universal(WINDOW *win, char key) { this->active_cell += 7; break; - if (this->calendar->get_info().current_day-7 < 1) break; case 'k': - + if (this->calendar->get_info().current_day-7 < 1) break; day = this->calendar->get_info().current_day; this->calendar->set_day(day-7);