Get rid of some global strings to (shrinks release exe size by 3.5MB)

This commit is contained in:
Chris Danford
2003-03-15 19:25:37 +00:00
parent 8f9ac4d0ee
commit ad34d417f6
24 changed files with 471 additions and 421 deletions
+1 -1
View File
@@ -732,7 +732,7 @@ bool RageSound::SetPositionSamples( int samples )
* To do this, we'll undo the muliply by the playback rate above.
* Glenn: Feel free to change this to whatever method is more elegant.
* -Chris */
int ms = int(float(samples) * 1000.f / samplerate) * GetPlaybackRate();
int ms = int( float(samples) * 1000.f / samplerate * GetPlaybackRate() );
if(!big) {
/* Just make sure the position is in range. */