Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
cybermind

Weird Doom 2 MAP32 demo issue

Recommended Posts

I haven't checked the demo, but it is possible that when the third Keen calls A_KeenDie, the fourth is already dead but still in its death animation. Of course the door will open then.

 

Share this post


Link to post

Ah yes, you're correct:

void A_KeenDie (mobj_t* mo)
{
    ...
	if (mo2 != mo
	    && mo2->type == mo->type
	    && mo2->health > 0)
	{
	    // other Keen not dead
	    return;		
	}
    }

   ...
}

When 3rd Keen called its A_KeenDie codepointer, I shot the fourth one, making its health to go below zero. Thanks for clarifying.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×