allow including shared files via .include_native
This commit is contained in:
+1
-2
@@ -637,8 +637,7 @@ QuestIndex::QuestIndex(
|
||||
file_data = decode_dlq_data(phosg::load_file(file_path));
|
||||
filename.resize(filename.size() - 4);
|
||||
} else if (phosg::ends_with(filename, ".bin.txt")) {
|
||||
string include_dir = phosg::dirname(file_path);
|
||||
file_data = assemble_quest_script(phosg::load_file(file_path), include_dir);
|
||||
file_data = assemble_quest_script(phosg::load_file(file_path), {phosg::dirname(file_path), "system/client-functions/System"});
|
||||
filename.resize(filename.size() - 4);
|
||||
if (phosg::ends_with(filename, ".bin")) {
|
||||
filename.push_back('d');
|
||||
|
||||
Reference in New Issue
Block a user