mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Use MxResult as a return type for Serialize
This commit is contained in:
parent
b99b2f325b
commit
cdecd8ea00
@ -56,7 +56,7 @@ class Act1State : public LegoState {
|
|||||||
inline const MxString* GetName() const { return &m_name; }
|
inline const MxString* GetName() const { return &m_name; }
|
||||||
|
|
||||||
// FUNCTION: LEGO1 0x100344d0
|
// FUNCTION: LEGO1 0x100344d0
|
||||||
MxS32 Serialize(LegoFile* p_file)
|
MxResult Serialize(LegoFile* p_file)
|
||||||
{
|
{
|
||||||
if (p_file->IsWriteMode()) {
|
if (p_file->IsWriteMode()) {
|
||||||
p_file->FUN_10006030(m_name);
|
p_file->FUN_10006030(m_name);
|
||||||
@ -71,7 +71,7 @@ class Act1State : public LegoState {
|
|||||||
p_file->ReadVector3(m_point3);
|
p_file->ReadVector3(m_point3);
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return SUCCESS;
|
||||||
}
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user