Check HVA files validity at load time
This commit is contained in:
@@ -220,7 +220,7 @@ namespace OpenRA.Graphics
|
||||
using (var s = GlobalFileSystem.Open(files.First + ".vxl"))
|
||||
vxl = new VxlReader(s);
|
||||
using (var s = GlobalFileSystem.Open(files.Second + ".hva"))
|
||||
hva = new HvaReader(s);
|
||||
hva = new HvaReader(s, files.Second + ".hva");
|
||||
return new Voxel(this, vxl, hva);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user