From 9629a8d61e43ba15e87834801f581778625b7a14 Mon Sep 17 00:00:00 2001 From: HampusM Date: Tue, 7 Jun 2022 14:18:20 +0200 Subject: fix: prevent update position in statusline on cursor move fail --- src/game/game.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/game.hpp') diff --git a/src/game/game.hpp b/src/game/game.hpp index b5b69cf..d629400 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -55,7 +55,7 @@ private: std::list _living_cell_positions; - void _move_cursor(const Vector2 &direction) noexcept; + auto _move_cursor(const Vector2 &direction) noexcept -> bool; void _set_space( const std::shared_ptr> &matrix, -- cgit v1.2.3-18-g5258