source deletion fix
git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@2609 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
@@ -406,7 +406,7 @@ struct sourcescheduler
|
||||
if(!src) return;
|
||||
src->unlock();
|
||||
|
||||
if(sources.length() >= soundchannels)
|
||||
if(sources.length() > soundchannels)
|
||||
{
|
||||
sources.removeobj(src);
|
||||
delete src;
|
||||
|
||||
Reference in New Issue
Block a user