Example load_banks bug?

Hi,

In the FMOD 1.05.02 Studio examples, the file load_banks.cpp contains this:

for (int i=0; i<BANK_COUNT; ++i)
{
    if (data.banks[i] == NULL || !data.banks[i]->isValid())
    {
        data.banks[i]->unload();
    }
}

This looks a bug; all banks are probably loaded, but this loop effectively does nothing. It should be inverted ( if !(data.banks[i]==NULL||…)) or something like that. Right now, all banks are probably cleaned up from the following system->release() instead of being cleaned up explicitly.

Thanks for that Ruud. The example is indeed incorrect and will be fixed in the 1.05.05 release.