diff --git a/src/sdl/al_sound.c b/src/sdl/al_sound.c index 3c580d841..2b6e5775a 100644 --- a/src/sdl/al_sound.c +++ b/src/sdl/al_sound.c @@ -1127,7 +1127,10 @@ boolean I_SetSongPosition(UINT32 position) else #endif { - position = get_adjusted_position(position); + UINT32 length = I_GetSongLength(); // get it in MS + + if (length) + position = get_adjusted_position(position); position = position / 1000.0f;