mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 02:31:15 +00:00
Rename member
This commit is contained in:
parent
428fde2f61
commit
b0c21f2001
@ -261,7 +261,7 @@ MxResult LegoWorldPresenter::LoadWorld(char* p_worldName, LegoWorld* p_world)
|
||||
ModelDbPart* part;
|
||||
|
||||
while (cursor.Next(part)) {
|
||||
if (GetViewLODListManager()->Lookup(part->m_name.GetData()) == NULL &&
|
||||
if (GetViewLODListManager()->Lookup(part->m_roiName.GetData()) == NULL &&
|
||||
FUN_10067360(*part, wdbFile) != SUCCESS) {
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
@ -12,7 +12,7 @@
|
||||
struct ModelDbPart {
|
||||
MxResult Read(FILE* p_file);
|
||||
|
||||
MxString m_name; // 0x00
|
||||
MxString m_roiName; // 0x00
|
||||
undefined4 m_unk0x10; // 0x10
|
||||
undefined4 m_unk0x14; // 0x14
|
||||
};
|
||||
@ -32,7 +32,7 @@ class ModelDbPartList : public MxList<ModelDbPart*> {
|
||||
// FUNCTION: LEGO1 0x10027c40
|
||||
MxS8 Compare(ModelDbPart* p_a, ModelDbPart* p_b) override
|
||||
{
|
||||
MxS32 compare = strcmpi(p_a->m_name.GetData(), p_b->m_name.GetData());
|
||||
MxS32 compare = strcmpi(p_a->m_roiName.GetData(), p_b->m_roiName.GetData());
|
||||
|
||||
if (compare == 0) {
|
||||
p_b->m_unk0x10 = p_a->m_unk0x10;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user