From ef58c8d5d64156f9329a88da5f307b72694592e3 Mon Sep 17 00:00:00 2001 From: Valiant Date: Thu, 19 Sep 2024 16:09:41 +0400 Subject: [PATCH] Don't fling immobile creatures --- src/mattack_actors.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mattack_actors.cpp b/src/mattack_actors.cpp index b4e5bab977175..2ee98e4a52979 100644 --- a/src/mattack_actors.cpp +++ b/src/mattack_actors.cpp @@ -881,7 +881,7 @@ bool melee_actor::call( monster &z ) const } } } - if( throw_strength > 0 ) { + if( throw_strength > 0 && !target->has_flag( mon_flag_IMMOBILE ) ) { if( g->fling_creature( target, coord_to_angle( z.pos(), target->pos() ), throw_strength ) ) { target->add_msg_player_or_npc( msg_type, throw_msg_u,