mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-30 19:52:43 +00:00
Use float value for LOOPMS
Extra precision.
This commit is contained in:
parent
f749424de7
commit
418156bebf
1 changed files with 1 additions and 1 deletions
|
|
@ -1227,7 +1227,7 @@ boolean I_LoadSong(char *data, size_t len)
|
|||
else if (!strncmp(p, key3, key3len)) // is it LOOPMS=?
|
||||
{
|
||||
p += key3len; // skip MS=
|
||||
loop_point = (float)(atoi(p) / 1000.0L); // LOOPMS works by real time, as miliseconds.
|
||||
loop_point = atof(p) / 1000.f; // LOOPMS works by real time, as miliseconds.
|
||||
// Everything that uses LOOPMS will work perfectly with SDL_Mixer.
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue