- fixed many compilation errors with GCC and Clang
This commit is contained in:
parent
4fdcc47edc
commit
11958b713e
25 changed files with 110 additions and 110 deletions
|
|
@ -150,7 +150,7 @@ void VerifyTargetChain(AActor *self, bool preciseMissileCheck)
|
|||
{
|
||||
// if any of the actors from self to (inclusive) origin match the next actor,
|
||||
// self has reached/created a loop
|
||||
self->target = NULL;
|
||||
self->target = nullptr;
|
||||
return;
|
||||
}
|
||||
if (compare == origin) break; // when "compare" = origin, we know that the next actor is, and should be "next"
|
||||
|
|
@ -176,7 +176,7 @@ void VerifyMasterChain(AActor *self)
|
|||
{
|
||||
if (compare == next)
|
||||
{
|
||||
self->master = NULL;
|
||||
self->master = nullptr;
|
||||
return;
|
||||
}
|
||||
if (compare == origin) break;
|
||||
|
|
@ -215,4 +215,4 @@ void ASSIGN_AAPTR(AActor *toActor, int toSlot, AActor *ptr, int flags)
|
|||
toActor->tracer = ptr;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue