From 2ad17ba3e135b4d92a45893a335fc921a2f40678 Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 7 Dec 2025 13:08:20 +0100 Subject: [PATCH] fixed a bug with bad initial HP --- rogueviz/ru/stats.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rogueviz/ru/stats.cpp b/rogueviz/ru/stats.cpp index 28f7f847..34f199f7 100644 --- a/rogueviz/ru/stats.cpp +++ b/rogueviz/ru/stats.cpp @@ -201,6 +201,8 @@ void stat_screen(bool editable) { dialog::add_action([] { popScreen(); cmode = mode::playing; + m.current.reset(); m.next.reset(); + m.hp = m.max_hp(); switch(m.profession) { case stat::str: find_power("axe").gain(1, 1);