Don't propagate action if the action didn't do anything

main
parent ebf4f3eed1
commit 2d18600c0a

@ -1092,6 +1092,11 @@ bool perform_action(Entity *from, Action a)
proceed_propagating = false;
}
if(a.speech_length == 0 && a.kind == ACT_none)
{
proceed_propagating = false; // did nothing
}
if(proceed_propagating)
{
cause_action_side_effects(from, action_target, a);

Loading…
Cancel
Save