Changeset 10261 for code/trunk
- Timestamp:
- Feb 6, 2015, 11:11:10 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/modules/jump/Jump.cc
r10260 r10261 395 395 JumpPlatformTimer* Jump::addPlatformTimer(float xPosition, float zPosition, float time, float variance) 396 396 { 397 float additionalTime = (float)(rand()%100)/100.0 *variance - variance/2.0;397 float additionalTime = (float)(rand()%100)/100.0f*variance - variance/2.0f; 398 398 399 399 JumpPlatformTimer* newPlatform = new JumpPlatformTimer(center_->getContext());
Note: See TracChangeset
for help on using the changeset viewer.