mirror of
https://github.com/open-goal/jak-project
synced 2026-05-23 06:54:31 -04:00
[decomp] flying-lurker (#846)
* `flying-lurker` * why'd this get left behind? * also `ambient` and add a `banned_objects` config and fix offline tests * clang * fix `ambient-type-sound`
This commit is contained in:
@@ -244,6 +244,9 @@ void ObjectFileDB::add_obj_from_dgo(const std::string& obj_name,
|
||||
uint32_t obj_size,
|
||||
const std::string& dgo_name,
|
||||
const Config& config) {
|
||||
if (config.banned_objects.find(obj_name) != config.banned_objects.end()) {
|
||||
return;
|
||||
}
|
||||
if (!config.allowed_objects.empty()) {
|
||||
if (config.allowed_objects.find(obj_name) == config.allowed_objects.end()) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user