Fixed Fall-through switch statement?

Status
Not open for further replies.

SSNTails

What part of 'RETIRED' don't you understand?
I think this might be a bug:

(p_mobj.c, line 7134):

Code:
case MT_CYBRAKDEMON_NAPALM_BOMB_LARGE:
			mobj->fuse = mobj->info->mass;
		case MT_BLACKEGGMAN:
			{
				mobj_t *spawn = P_SpawnMobj(mobj->x, mobj->z, mobj->z+mobj->height-16*FRACUNIT, MT_BLACKEGGMAN_HELPER);
				spawn->destscale = mobj->scale;
				P_SetScale(spawn, mobj->scale);
				P_SetTarget(&spawn->target, mobj);
			}
			break;

I don't think the new 'CYBRAKDEMON' needs the MT_BLACKEGGMANHELPER. Shouldn't there be a 'break' after mobj->fuse = mobj->info->mass; ?
 
Last edited by a moderator:
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top