Skip to content

Commit

Permalink
Merge pull request #36246 from anothersimulacrum/fix-pulp
Browse files Browse the repository at this point in the history
Fix pulping not working
  • Loading branch information
ZhilkinSerg authored Dec 19, 2019
2 parents 2983c97 + af155f0 commit ce3d664
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/handle_action.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ static void smash()
maybe_corpse.get_mtype()->has_flag( MF_REVIVES ) ) {
// do activity forever. ACT_PULP stops itself
u.assign_activity( activity_id( "ACT_PULP" ), calendar::INDEFINITELY_LONG, 0 );
u.activity.placement = smashp;
u.activity.placement = g->m.getabs( smashp );
return; // don't smash terrain if we've smashed a corpse
}
}
Expand Down

0 comments on commit ce3d664

Please sign in to comment.