- Added SnowKate709's A_LookEx submission.

SVN r611 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-20 20:37:06 +00:00
commit 16a2eb3b0c
8 changed files with 582 additions and 2 deletions

View file

@ -2089,3 +2089,28 @@ void A_SetGravity(AActor * self)
}
// [KS] *** Start of my modifications ***
//===========================================================================
//
// A_ClearTarget
//
//===========================================================================
void A_ClearTarget(AActor * self)
{
if (self->target != NULL)
{
self->target = NULL;
}
if (self->LastHeard != NULL)
{
self->LastHeard = NULL;
}
if (self->lastenemy != NULL)
{
self->lastenemy = NULL;
}
}
// [KS] *** End of my modifications ***