mirror of
https://github.com/open-goal/jak-project
synced 2026-08-21 23:00:45 -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:
@@ -59,6 +59,10 @@ Config read_config_file(const std::string& path_to_config_file) {
|
||||
for (const auto& x : allowed) {
|
||||
config.allowed_objects.insert(x);
|
||||
}
|
||||
auto banned = cfg.at("banned_objects").get<std::vector<std::string>>();
|
||||
for (const auto& x : banned) {
|
||||
config.banned_objects.insert(x);
|
||||
}
|
||||
|
||||
auto type_casts_json = read_json_file_from_config(cfg, "type_casts_file");
|
||||
for (auto& kv : type_casts_json.items()) {
|
||||
|
||||
Reference in New Issue
Block a user