- Stylistic changes.

SVN r4236 (trunk)
This commit is contained in:
Randy Heit 2013-04-30 02:45:15 +00:00
parent e92560b4da
commit f7aa019f85

View file

@ -3759,9 +3759,9 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_RemoveChildren)
ACTION_PARAM_START(1);
ACTION_PARAM_BOOL(removeall,0);
while ( (mo = it.Next()) )
while ((mo = it.Next()) != NULL)
{
if ( ( mo->master == self ) && ( ( mo->health <= 0 ) || removeall) )
if (mo->master == self && (mo->health <= 0 || removeall))
{
P_RemoveThing(mo);
}
@ -3780,9 +3780,9 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_RemoveSiblings)
ACTION_PARAM_START(1);
ACTION_PARAM_BOOL(removeall,0);
while ( (mo = it.Next()) )
while ((mo = it.Next()) != NULL)
{
if ( ( mo->master == self->master ) && ( mo != self ) && ( ( mo->health <= 0 ) || removeall) )
if (mo->master == self->master && mo != self && (mo->health <= 0 || removeall))
{
P_RemoveThing(mo);
}
@ -3812,7 +3812,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_RaiseChildren)
TThinkerIterator<AActor> it;
AActor *mo;
while ((mo = it.Next()))
while ((mo = it.Next()) != NULL)
{
if (mo->master == self)
{
@ -3831,9 +3831,9 @@ DEFINE_ACTION_FUNCTION(AActor, A_RaiseSiblings)
TThinkerIterator<AActor> it;
AActor *mo;
while ( (mo = it.Next()) )
while ((mo = it.Next()) != NULL)
{
if ( ( mo->master == self->master ) && ( mo != self ) )
if (mo->master == self->master && mo != self)
{
P_Thing_Raise(mo);
}