mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Merge pull request #1214 from bpay/cppcheck-cleaning
Fix some issues flagged by cppcheck
This commit is contained in:
commit
497a15cfd0
38 changed files with 96 additions and 42 deletions
|
|
@ -87,6 +87,7 @@ ConsoleDocClass( GuiClockHud,
|
|||
GuiClockHud::GuiClockHud()
|
||||
{
|
||||
mShowFrame = mShowFill = true;
|
||||
mTimeReversed = false;
|
||||
mFillColor.set(0, 0, 0, 0.5);
|
||||
mFrameColor.set(0, 1, 0, 1);
|
||||
mTextColor.set( 0, 1, 0, 1 );
|
||||
|
|
|
|||
|
|
@ -117,8 +117,11 @@ GuiShapeNameHud::GuiShapeNameHud()
|
|||
{
|
||||
mFillColor.set( 0.25f, 0.25f, 0.25f, 0.25f );
|
||||
mFrameColor.set( 0, 1, 0, 1 );
|
||||
mLabelFillColor.set( 0.25f, 0.25f, 0.25f, 0.25f );
|
||||
mLabelFrameColor.set( 0, 1, 0, 1 );
|
||||
mTextColor.set( 0, 1, 0, 1 );
|
||||
mShowFrame = mShowFill = true;
|
||||
mShowLabelFrame = mShowLabelFill = false;
|
||||
mVerticalOffset = 0.5f;
|
||||
mDistanceFade = 0.1f;
|
||||
mLabelPadding.set(0, 0);
|
||||
|
|
|
|||
|
|
@ -148,7 +148,7 @@ protected:
|
|||
|
||||
public:
|
||||
|
||||
GroundCoverCell() {}
|
||||
GroundCoverCell() : mDirty(false) {}
|
||||
|
||||
~GroundCoverCell()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -156,6 +156,7 @@ LightningStrikeEvent::LightningStrikeEvent()
|
|||
{
|
||||
mLightning = NULL;
|
||||
mTarget = NULL;
|
||||
mClientId = 0;
|
||||
}
|
||||
|
||||
LightningStrikeEvent::~LightningStrikeEvent()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue