Removed some left-over (I think!) code from unloadPluginsExcept() that was
causing ScummVM to crash for me. svn-id: r24155
This commit is contained in:
parent
e4c9d0a4e3
commit
f11c3d1f26
1 changed files with 1 additions and 3 deletions
|
@ -204,9 +204,7 @@ void PluginManager::unloadPlugins() {
|
||||||
|
|
||||||
void PluginManager::unloadPluginsExcept(const Plugin *plugin) {
|
void PluginManager::unloadPluginsExcept(const Plugin *plugin) {
|
||||||
Plugin *found = NULL;
|
Plugin *found = NULL;
|
||||||
uint i;
|
for (PluginList::iterator p = _plugins.begin(); p != _plugins.end(); ++p) {
|
||||||
for (PluginList::iterator p = _plugins.begin(); p != _plugins.end(); ++p)
|
|
||||||
for (i = 0; i < _plugins.size(); i++) {
|
|
||||||
if (*p == plugin) {
|
if (*p == plugin) {
|
||||||
found = *p;
|
found = *p;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue