mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 08:54:15 +00:00
Move Read/Write functions to LegoStorage base class, match Act1State::Serialize (#1335)
* Move Read/Write function to LegoStorage base class * Proper const use for vector / BETA match * Match `Act1State::Serialize`
This commit is contained in:
committed by
GitHub
parent
77a3dc0795
commit
70b0f76fa1
@@ -76,10 +76,10 @@ public:
|
||||
|
||||
// FUNCTION: LEGO1 0x10005fb0
|
||||
// FUNCTION: BETA10 0x10017af0
|
||||
virtual MxResult Serialize(LegoFile* p_file)
|
||||
virtual MxResult Serialize(LegoStorage* p_storage)
|
||||
{
|
||||
if (p_file->IsWriteMode()) {
|
||||
p_file->Write(MxString(ClassName()));
|
||||
if (p_storage->IsWriteMode()) {
|
||||
p_storage->WriteMxString(ClassName());
|
||||
}
|
||||
return SUCCESS;
|
||||
} // vtable+0x1c
|
||||
|
||||
Reference in New Issue
Block a user