Skip to content

Commit 6337fb3

Browse files
committed
refactor: Remove unnecessary end comments
1 parent f3a1be4 commit 6337fb3

File tree

2 files changed

+8
-8
lines changed
  • GeneralsMD/Code/GameEngine/Source/GameClient/GUI/ControlBar
  • Generals/Code/GameEngine/Source/GameClient/GUI/ControlBar

2 files changed

+8
-8
lines changed

Generals/Code/GameEngine/Source/GameClient/GUI/ControlBar/ControlBar.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2689,7 +2689,7 @@ void ControlBar::showRallyPoint( const Coord3D *loc )
26892689
if( m_rallyPointDrawableID != INVALID_DRAWABLE_ID )
26902690
TheGameClient->destroyDrawable( TheGameClient->findDrawableByID( m_rallyPointDrawableID ) );
26912691
m_rallyPointDrawableID = INVALID_DRAWABLE_ID;
2692-
} // end if
2692+
}
26932693
else
26942694
{
26952695
Drawable *marker = NULL;
@@ -2705,7 +2705,7 @@ void ControlBar::showRallyPoint( const Coord3D *loc )
27052705
marker->setDrawableStatus(DRAWABLE_STATUS_NO_SAVE);
27062706
m_rallyPointDrawableID = marker->getID();
27072707
}
2708-
} // end if
2708+
}
27092709
else
27102710
marker = TheGameClient->findDrawableByID( m_rallyPointDrawableID );
27112711

@@ -2725,8 +2725,8 @@ void ControlBar::showRallyPoint( const Coord3D *loc )
27252725
else
27262726
marker->setIndicatorColor(player->getPlayerColor());
27272727
}
2728-
} // end else
2729-
} // end showRallyPoint
2728+
}
2729+
}
27302730

27312731
// ------------------------------------------------------------------------------------------------
27322732
/** Show a rally point marker at the world location specified. If no location is specified

GeneralsMD/Code/GameEngine/Source/GameClient/GUI/ControlBar/ControlBar.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2712,7 +2712,7 @@ void ControlBar::showRallyPoint( const Coord3D *loc )
27122712
if( m_rallyPointDrawableID != INVALID_DRAWABLE_ID )
27132713
TheGameClient->destroyDrawable( TheGameClient->findDrawableByID( m_rallyPointDrawableID ) );
27142714
m_rallyPointDrawableID = INVALID_DRAWABLE_ID;
2715-
} // end if
2715+
}
27162716
else
27172717
{
27182718
Drawable *marker = NULL;
@@ -2728,7 +2728,7 @@ void ControlBar::showRallyPoint( const Coord3D *loc )
27282728
marker->setDrawableStatus(DRAWABLE_STATUS_NO_SAVE);
27292729
m_rallyPointDrawableID = marker->getID();
27302730
}
2731-
} // end if
2731+
}
27322732
else
27332733
marker = TheGameClient->findDrawableByID( m_rallyPointDrawableID );
27342734

@@ -2748,8 +2748,8 @@ void ControlBar::showRallyPoint( const Coord3D *loc )
27482748
else
27492749
marker->setIndicatorColor(player->getPlayerColor());
27502750
}
2751-
} // end else
2752-
} // end showRallyPoint
2751+
}
2752+
}
27532753

27542754
// ------------------------------------------------------------------------------------------------
27552755
/** Show a rally point marker at the world location specified. If no location is specified

0 commit comments

Comments
 (0)