- Removed a few new warnings spewed by GCC.
SVN r641 (trunk)
This commit is contained in:
parent
1acc3d00c4
commit
813b59edee
6 changed files with 13 additions and 18 deletions
|
|
@ -2099,24 +2099,15 @@ void A_SetGravity(AActor * self)
|
|||
|
||||
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;
|
||||
}
|
||||
self->target = NULL;
|
||||
self->LastHeard = NULL;
|
||||
self->lastenemy = NULL;
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// A_JumpIfTargetInLOS (fixed fov, state label)
|
||||
// Jumps if the actor can see it's target, or if the player has a linetarget.
|
||||
// Jumps if the actor can see its target, or if the player has a linetarget.
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
|
|
@ -2165,4 +2156,4 @@ void A_JumpIfTargetInLOS(AActor * self)
|
|||
DoJump(self, CallingState, StateParameters[index+1]);
|
||||
}
|
||||
|
||||
// [KS] *** End of my modifications ***
|
||||
// [KS] *** End of my modifications ***
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue