Fix only looped sounds play on platforms other than Windows/Apple.

This commit is contained in:
Kester Maddock 2004-04-04 09:34:58 +00:00
parent 32b0677d96
commit 1a8deeb85b
1 changed files with 0 additions and 6 deletions

View File

@ -409,14 +409,8 @@ void SND_Scene::UpdateActiveObects()
printf("%d - ",playstate);
#endif
// if ((playstate == SND_STOPPED && (!juststartedplaying) && !pObject->GetLoopMode() && pObject->IsRunning())
#if defined(WIN32) || defined(__APPLE__)
if ((playstate == SND_STOPPED) && !pObject->GetLoopMode())
#else
if (!pObject->GetLoopMode())
#endif
{
// printf("remove: %d\n", tijd);
RemoveActiveObject(pObject);
}
}