Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 31, 2016, 8:43:10 PM (9 years ago)
Author:
landauf
Message:

fixed warnings (release build).
fixed error in GravityBombField

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/modules/weapons/projectiles/GravityBombField.cc

    r11083 r11103  
    6666        randomRotation.x = rnd();
    6767        randomRotation.y = rnd();
    68         randomRotation.y = rnd();
     68        randomRotation.z = rnd();
    6969        randomRotation.normalise();
    7070        bombModel_->setAngularAcceleration(randomRotation*(PEAK_ANGULAR_VELOCITY/FORCE_FIELD_LIFETIME));
Note: See TracChangeset for help on using the changeset viewer.