Skip to content

Commit 4019834

Browse files
committed
docs: Update comments
1 parent b5e3186 commit 4019834

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Generals/Code/GameEngine/Source/GameLogic/Object/Behavior/PropagandaTowerBehavior.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ UpdateSleepTime PropagandaTowerBehavior::update( void )
209209
#if RETAIL_COMPATIBLE_CRC
210210
Bool contained = self->getContainedBy() && self->getContainedBy()->getContainedBy();
211211
#else
212+
// If our container or any parent containers are enclosing, we turn the heck off.
212213
Bool contained = false;
213214

214215
for (Object* child = self, *container = self->getContainedBy(); container; child = container, container = container->getContainedBy())
@@ -224,7 +225,6 @@ UpdateSleepTime PropagandaTowerBehavior::update( void )
224225

225226
if (contained)
226227
{
227-
// If our container or any parent containers are an enclosing container, we turn the heck off.
228228
removeAllInfluence();
229229
return UPDATE_SLEEP_NONE;
230230
}

GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Behavior/PropagandaTowerBehavior.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ UpdateSleepTime PropagandaTowerBehavior::update( void )
211211
#if RETAIL_COMPATIBLE_CRC
212212
Bool contained = self->getContainedBy() && self->getContainedBy()->getContainedBy();
213213
#else
214+
// If our container or any parent containers are enclosing, we turn the heck off.
214215
Bool contained = false;
215216

216217
for (Object* child = self, *container = self->getContainedBy(); container; child = container, container = container->getContainedBy())
@@ -226,7 +227,6 @@ UpdateSleepTime PropagandaTowerBehavior::update( void )
226227

227228
if (contained)
228229
{
229-
// If our container or any parent containers are an enclosing container, we turn the heck off.
230230
removeAllInfluence();
231231
return UPDATE_SLEEP_NONE;
232232
}

0 commit comments

Comments
 (0)