Fixed bug at18919

This commit is contained in:
David Anderson
2005-09-18 02:59:36 +00:00
parent 164a47bde4
commit a816767abb
9 changed files with 681 additions and 338 deletions

View File

@ -29,10 +29,10 @@ static cell nvault_open(AMX *amx, cell *params)
sprintf(file, "%s/%s.vault", path, name);
for (size_t i=0; i<g_Vaults.size(); i++)
{
if (!g_Vaults[i])
continue;
if (strcmp(g_Vaults.at(i)->GetFilename(), file) == 0)
{
return i;
}
}
NVault *v = new NVault(file);
if (!v->Open())