A_MinusPopup is an action which is used by the Minus when popping out of the ground. The flags
MF_SHOOTABLE are restored to allow the player to harm the actor, the actor's vertical momentum is set to 10 fracunits/tic, and
AttackSound is played as the sound for busting out of the ground.
Code – A_MinusPopup
// Function: A_MinusPopup
// Description: Minus popping out of the ground.
// var1 = unused
// var2 = unused
void A_MinusPopup(mobj_t *actor)
if (LUA_CallAction("A_MinusPopup", actor))
P_SetObjectMomZ(actor, 10*FRACUNIT, false);
actor->flags |= MF_SPECIAL;
actor->flags |= MF_SHOOTABLE;
// Sound for busting out of the ground.