mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-14 15:34:47 +08:00
Refactored loading resource files from raw byte array code
This commit is contained in:
@@ -4220,7 +4220,7 @@ namespace CodeWalker.Project
|
||||
{
|
||||
byte[] data = File.ReadAllBytes(filename);
|
||||
|
||||
ymt.LoadRSC(data);
|
||||
ymt.Load(data);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -3775,7 +3775,7 @@ namespace CodeWalker
|
||||
{
|
||||
byte[] data = File.ReadAllBytes(filename);
|
||||
|
||||
ymt.LoadRSC(data);
|
||||
ymt.Load(data);
|
||||
}
|
||||
|
||||
private void LoadScenarioTreeNodes(YmtFile ymt, TreeNode node)
|
||||
|
||||
Reference in New Issue
Block a user