Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 31, 2015, 5:31:23 PM (9 years ago)
Author:
landauf
Message:

replaced tabs with spaces. no changes in code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentationFS14/src/modules/jump/JumpShield.cc

    r10078 r10215  
    8383            if(figurePosition.x > shieldPosition.x-width_ && figurePosition.x < shieldPosition.x+width_ && figurePosition.z > shieldPosition.z-height_ && figurePosition.z < shieldPosition.z+height_)
    8484            {
    85                 touchFigure();
     85                touchFigure();
    8686            }
    8787        }
    8888        else if (attachedToFigure_ == true)
    8989        {
    90                 fuel_ -= dt;
    91                 if (fuel_ < 0.0)
    92                 {
    93                         figure_->StopShield(this);
    94                 }
     90            fuel_ -= dt;
     91            if (fuel_ < 0.0)
     92            {
     93                figure_->StopShield(this);
     94            }
    9595        }
    9696    }
     
    9898    void JumpShield::touchFigure()
    9999    {
    100         JumpItem::touchFigure();
     100        JumpItem::touchFigure();
    101101
    102         attachedToFigure_ = figure_->StartShield(this);
     102        attachedToFigure_ = figure_->StartShield(this);
    103103    }
    104104}
Note: See TracChangeset for help on using the changeset viewer.