From b455587e118b08f00dba8834dbf4b3d8de3b1e3c Mon Sep 17 00:00:00 2001 From: Zeno Rogue Date: Sun, 15 Mar 2026 16:53:24 +0100 Subject: [PATCH] removing useless attack_facing and attack_when from man --- rogueviz/ru/classes.cpp | 2 -- rogueviz/ru/man.cpp | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/rogueviz/ru/classes.cpp b/rogueviz/ru/classes.cpp index a0da05c6..382d2a66 100644 --- a/rogueviz/ru/classes.cpp +++ b/rogueviz/ru/classes.cpp @@ -385,8 +385,6 @@ struct effect { struct man : public entity { int facing; - int attack_facing; - int attack_when; int on_floor_when; int dresstime; entity *morphed = nullptr; diff --git a/rogueviz/ru/man.cpp b/rogueviz/ru/man.cpp index 015608b1..51a72d83 100644 --- a/rogueviz/ru/man.cpp +++ b/rogueviz/ru/man.cpp @@ -52,7 +52,7 @@ void statdata::reset() { man::man() { id = "Alchemist"; - facing = 1; attack_facing = 1; + facing = 1; for(auto s: allstats) base_stats[s] = 10; next.reset(); current.reset(); hs(fountain_resetter); @@ -61,8 +61,6 @@ man::man() { void man::hs(stater& s) { auto& s1 = s.only_full(); s1.act("facing", facing, 1) - .act("attack_facing", attack_facing, 1) - .act("attack_when", attack_when, 0) .act("on_floor_when", on_floor_when, 0) .act("xp", experience, 0) .act("last_action", last_action, 0)