- Added SnowKate709's A_LookEx submission.
SVN r611 (trunk)
This commit is contained in:
parent
b48cc1792b
commit
16a2eb3b0c
8 changed files with 582 additions and 2 deletions
|
|
@ -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 ***
|
||||
Loading…
Add table
Add a link
Reference in a new issue