Skip to content

Commit

Permalink
Merge pull request #76549 from Night-Pryanik/smash
Browse files Browse the repository at this point in the history
HULK NO SMASH! fungal spires
  • Loading branch information
Maleclypse committed Sep 21, 2024
2 parents b96a38f + ef58c8d commit acf1193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mattack_actors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit acf1193

Please sign in to comment.