Changeset 10259 for code/trunk/src
- Timestamp:
- Feb 6, 2015, 10:55:17 PM (10 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/pickupsFS14 (added) merged: 10000,10005,10017,10022,10032,10040-10041,10050-10051,10074,10111-10112
- Property svn:mergeinfo changed
-
code/trunk/src/modules/jump/Jump.cc
r10218 r10259 395 395 JumpPlatformTimer* Jump::addPlatformTimer(float xPosition, float zPosition, float time, float variance) 396 396 { 397 float additionalTime = (float)(rand()%100)/ (100*variance) - variance/2;397 float additionalTime = (float)(rand()%100)/100.0*variance - variance/2.0; 398 398 399 399 JumpPlatformTimer* newPlatform = new JumpPlatformTimer(center_->getContext());
Note: See TracChangeset
for help on using the changeset viewer.