Looks like there’s a nesting error with the “if” chain in iuse::hacksaw().
diff --git a/iuse.cpp b/iuse.cpp
index 9d5e1f8..61b6ffa 100644
--- a/iuse.cpp
+++ b/iuse.cpp
@@ -3930,7 +3930,7 @@ if (dirx == p->posx && diry == p->posy) {
g->sound(dirx, diry, 15,_("grnd grnd grnd"));
g->m.spawn_item(dirx, diry, "pipe", 0, 6);
g->m.spawn_item(dirx, diry, "wire", 0, 20);
- if (g->m.ter(dirx, diry) == t_chainfence_posts) {
+ } else if (g->m.ter(dirx, diry) == t_chainfence_posts) {
p->moves -= 500;
g->m.ter_set(dirx, diry, t_dirt);
g->sound(dirx, diry, 15,_("grnd grnd grnd"));
@@ -3957,7 +3957,6 @@ if (dirx == p->posx && diry == p->posy) {
g->add_msg(_("You can't cut that."));
}
}
-}
void iuse::tent(game *g, player *p, item *it, bool t)
{