small fix on loader::load(vfsStream& stream)

i->get_error_code() would have been changed in the if brace
This commit is contained in:
sb2130 2015-01-22 13:44:33 +08:00
parent 6a2eefaf3f
commit 3e40f22d15

View File

@ -21,9 +21,11 @@ namespace loader
LOG_ERROR(LOADER, "loader::load() failed: %s", i->get_error_code().c_str());
}
LOG_ERROR(LOADER, "loader::init() failed: %s", i->get_error_code().c_str());
stream.Seek(i->get_stream_offset());
else
{
LOG_ERROR(LOADER, "loader::init() failed: %s", i->get_error_code().c_str());
stream.Seek(i->get_stream_offset());
}
}
return false;