mirror of https://github.com/AxioDL/metaforce.git
Editor/ProjectManager: Be explicit about athena's SeekOrigin type
Allows this code to work if it's ever changed into an enum class.
This commit is contained in:
parent
9c0d13f001
commit
c0c6d02c27
|
@ -129,7 +129,7 @@ bool ProjectManager::openProject(hecl::SystemStringView path) {
|
||||||
}
|
}
|
||||||
|
|
||||||
r.reset();
|
r.reset();
|
||||||
reader.seek(0, athena::Begin);
|
reader.seek(0, athena::SeekOrigin::Begin);
|
||||||
if (!r.parse(&reader)) {
|
if (!r.parse(&reader)) {
|
||||||
return makeProj(true);
|
return makeProj(true);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue