From f7aa019f85ae2d0f36b491fb4e1a51fee645c6a6 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 30 Apr 2013 02:45:15 +0000 Subject: [PATCH] - Stylistic changes. SVN r4236 (trunk) --- src/thingdef/thingdef_codeptr.cpp | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/thingdef/thingdef_codeptr.cpp b/src/thingdef/thingdef_codeptr.cpp index a75012f61d..d84e647e12 100644 --- a/src/thingdef/thingdef_codeptr.cpp +++ b/src/thingdef/thingdef_codeptr.cpp @@ -3755,13 +3755,13 @@ DEFINE_ACTION_FUNCTION(AActor, A_RemoveMaster) DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_RemoveChildren) { TThinkerIterator it; - AActor * mo; + AActor *mo; 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); } @@ -3776,13 +3776,13 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_RemoveChildren) DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_RemoveSiblings) { TThinkerIterator it; - AActor * mo; + AActor *mo; 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); } @@ -3810,11 +3810,11 @@ DEFINE_ACTION_FUNCTION(AActor, A_RaiseMaster) DEFINE_ACTION_FUNCTION(AActor, A_RaiseChildren) { TThinkerIterator it; - AActor * mo; + AActor *mo; - while ((mo = it.Next())) + while ((mo = it.Next()) != NULL) { - if ( mo->master == self ) + if (mo->master == self) { P_Thing_Raise(mo); } @@ -3829,11 +3829,11 @@ DEFINE_ACTION_FUNCTION(AActor, A_RaiseChildren) DEFINE_ACTION_FUNCTION(AActor, A_RaiseSiblings) { TThinkerIterator it; - AActor * mo; + 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); }