Changeset 10498 in orxonox.OLD for trunk/src/util/track/track.cc
- Timestamp:
- Jan 30, 2007, 11:10:09 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/util/track/track.cc
r10454 r10498 142 142 this->mode = newMode; 143 143 } 144 145 /** 146 * Sets the bool if the track runs (false) or not (true) 147 */ 148 void Track::pauseTrack(bool stop) 149 { 150 this->pause = stop; 151 } 152 144 153 145 154 /** … … 250 259 { 251 260 float newDt = dt * ratio; 261 if(this->pause) 262 newDt = 0; 252 263 this->localTime = oldTime += newDt; 253 264 }
Note: See TracChangeset
for help on using the changeset viewer.