This commit is contained in:
Misha 2023-12-16 12:29:36 -05:00
parent 08f578b79f
commit 7a2824130b
No known key found for this signature in database
GPG Key ID: 8441D12AEF33FED8
3 changed files with 5 additions and 9 deletions

View File

@ -8,8 +8,8 @@ class Lego3DManager {
inline Lego3DView* GetLego3DView() { return this->m_3dView; } inline Lego3DView* GetLego3DView() { return this->m_3dView; }
private: private:
int m_unk0x00; undefined4 m_unk0x00;
int m_unk0x04; undefined4 m_unk0x04;
Lego3DView* m_3dView; // 0x08 Lego3DView* m_3dView; // 0x08
}; };

View File

@ -413,8 +413,7 @@ MxLong MxOmni::HandleActionEnd(MxParam& p_param)
delete ((MxEndActionNotificationParam&) p_param).GetSender(); delete ((MxEndActionNotificationParam&) p_param).GetSender();
} }
if (((MxEndActionNotificationParam&) p_param).GetAction()) if (((MxEndActionNotificationParam&) p_param).GetAction()) {
{
delete ((MxEndActionNotificationParam&) p_param).GetAction(); delete ((MxEndActionNotificationParam&) p_param).GetAction();
} }
return 1; return 1;

View File

@ -148,18 +148,15 @@ MxResult MxStreamer::DeleteObject(MxDSAction* p_dsAction)
{ {
MxDSAction tempAction; MxDSAction tempAction;
if (p_dsAction == NULL) if (p_dsAction == NULL) {
{
tempAction.SetUnknown24(-2); tempAction.SetUnknown24(-2);
} }
else else {
{
tempAction.SetObjectId(p_dsAction->GetObjectId()); tempAction.SetObjectId(p_dsAction->GetObjectId());
tempAction.SetAtomId(p_dsAction->GetAtomId()); tempAction.SetAtomId(p_dsAction->GetAtomId());
tempAction.SetUnknown24(p_dsAction->GetUnknown24()); tempAction.SetUnknown24(p_dsAction->GetUnknown24());
} }
// TODO: remove action from list // TODO: remove action from list
return -1; return -1;
} }