Skip to content

Commit 1fd5f91

Browse files
committed
docs: Update comments
1 parent 9493ad8 commit 1fd5f91

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,7 @@ UpdateSleepTime PropagandaTowerBehavior::update( void )
227227

228228
if (contained)
229229
{
230-
// If our container is contained, we turn the heck off. Seems like a weird specific check, but all of
231-
// attacking is guarded by the same check in isPassengersAllowedToFire. We similarly work in a container,
232-
// but not in a double container.
230+
// If our container or any parent containers are an enclosing container, we turn the heck off.
233231
removeAllInfluence();
234232
return UPDATE_SLEEP_NONE;
235233
}

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,7 @@ UpdateSleepTime PropagandaTowerBehavior::update( void )
229229

230230
if (contained)
231231
{
232-
// If our container is contained, we turn the heck off. Seems like a weird specific check, but all of
233-
// attacking is guarded by the same check in isPassengersAllowedToFire. We similarly work in a container,
234-
// but not in a double container.
232+
// If our container or any parent containers are an enclosing container, we turn the heck off.
235233
removeAllInfluence();
236234
return UPDATE_SLEEP_NONE;
237235
}

0 commit comments

Comments
 (0)