aboutsummaryrefslogtreecommitdiff
path: root/src/game/game.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-06-07 14:18:20 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:57:00 +0200
commit9629a8d61e43ba15e87834801f581778625b7a14 (patch)
tree40c9bc5bd8395ad6f803f5609f6b3d051bc8d441 /src/game/game.hpp
parentdf49c32fc0792214182d510b4a58c524bf8b59c5 (diff)
fix: prevent update position in statusline on cursor move fail
Diffstat (limited to 'src/game/game.hpp')
-rw-r--r--src/game/game.hpp2
1 files changed, 1 insertions, 1 deletions
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<Vector2> _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<IMatrix<IScene::MatrixElement>> &matrix,