mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-09 18:27:42 +00:00
DataSpec: Be explicit about athena's SeekOrigin type
Allows code to still function properly if the enum is changed into an enum class.
This commit is contained in:
@@ -14,7 +14,7 @@ void CHAR::AnimationInfo::EVNT::SFXEvent::Enumerate<BigDNA::Read>(athena::io::IS
|
||||
if (extraType == 1)
|
||||
extraFloat = reader.readFloatBig();
|
||||
else if (extraType == 2)
|
||||
reader.seek(35, athena::Current);
|
||||
reader.seek(35, athena::SeekOrigin::Current);
|
||||
}
|
||||
|
||||
template <>
|
||||
@@ -29,7 +29,7 @@ void CHAR::AnimationInfo::EVNT::SFXEvent::Enumerate<BigDNA::Write>(athena::io::I
|
||||
if (extraType == 1)
|
||||
writer.writeFloatBig(extraFloat);
|
||||
else if (extraType == 2)
|
||||
writer.seek(35, athena::Current);
|
||||
writer.seek(35, athena::SeekOrigin::Current);
|
||||
}
|
||||
|
||||
template <>
|
||||
|
||||
Reference in New Issue
Block a user