Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Missiles die after 2/4 secs
- case MT_MISTY:
- case MT_BOMBY:
- {
- INT32 life = 0;
- if (life < 140)
- life++;
- if ((life == 70) && (mobj->type == MT_BOMBY))
- {
- P_SetMobjState(mobj, S_BOMBYBLOW);
- S_StartSound(NULL, sfx_s3k5d);
- life = 0;
- }
- else if ((life == 140) && (mobj->type == MT_MISTY))
- P_RemoveMobj(mobj);
- }
- break;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement