Fixed last commit. Removed the wrong thing.

This commit is contained in:
stiffly
2016-01-27 15:43:40 +01:00
parent 246f56c823
commit 950f3f3cf7
+1 -1
View File
@@ -70,7 +70,7 @@ void SoundSystem::deleteInactiveEmitters()
// Sound has been stopped / finished playing.
alDeleteBuffers(1, &it->second->ALsource);
alDeleteSources(1, &it->second->ALsource);
m_World->DeleteEntity(it->first);
delete it->second;
it = m_Sources.erase(it);
}
} else {