From cc45b32be1602b0bdc7a79bf3d73198d2a688f33 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sat, 20 Feb 2021 15:07:10 +0100 Subject: [PATCH] rogueviz:: fixed the 'vertex shape' option --- rogueviz/rogueviz.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/rogueviz/rogueviz.cpp b/rogueviz/rogueviz.cpp index 91f114c4..ca6003b7 100644 --- a/rogueviz/rogueviz.cpp +++ b/rogueviz/rogueviz.cpp @@ -1118,7 +1118,9 @@ void showMenu() { } dialog::addBoolItem_action(XLAT("vertices in 3D"), rog3, 'v'); dialog::addSelItem(XLAT("vertex shape"), its(vertex_shape), 'w'); - dialog::add_action_push([] { vertex_shape = (1 + vertex_shape) & 3; }); + dialog::add_action([] { + vertex_shape = (1 + vertex_shape) & 3; + }); dialog::add_key_action('z', [] { for(int i=0; i