From eb5c0d9ffcb925dafebb9c6888cbb4ba2e46a848 Mon Sep 17 00:00:00 2001 From: Valiant Date: Wed, 18 Sep 2024 20:22:29 +0400 Subject: [PATCH] Spawn beartrap on throwing rocks --- src/trapfunc.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/trapfunc.cpp b/src/trapfunc.cpp index 68dae0b3896af..34d6ab63c42d3 100644 --- a/src/trapfunc.cpp +++ b/src/trapfunc.cpp @@ -217,6 +217,8 @@ bool trapfunc::beartrap( const tripoint &p, Creature *c, item * ) } } c->check_dead_state(); + } else { + here.spawn_item( p, "beartrap" ); } return true;