Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10261


Ignore:
Timestamp:
Feb 6, 2015, 11:11:10 PM (9 years ago)
Author:
landauf
Message:

fixed warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/jump/Jump.cc

    r10260 r10261  
    395395    JumpPlatformTimer* Jump::addPlatformTimer(float xPosition, float zPosition, float time, float variance)
    396396    {
    397         float additionalTime = (float)(rand()%100)/100.0*variance - variance/2.0;
     397        float additionalTime = (float)(rand()%100)/100.0f*variance - variance/2.0f;
    398398
    399399        JumpPlatformTimer* newPlatform = new JumpPlatformTimer(center_->getContext());
Note: See TracChangeset for help on using the changeset viewer.