mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-24 16:51:15 +00:00
fixes
This commit is contained in:
parent
08f578b79f
commit
7a2824130b
@ -8,8 +8,8 @@ class Lego3DManager {
|
||||
inline Lego3DView* GetLego3DView() { return this->m_3dView; }
|
||||
|
||||
private:
|
||||
int m_unk0x00;
|
||||
int m_unk0x04;
|
||||
undefined4 m_unk0x00;
|
||||
undefined4 m_unk0x04;
|
||||
Lego3DView* m_3dView; // 0x08
|
||||
};
|
||||
|
||||
|
||||
@ -413,8 +413,7 @@ MxLong MxOmni::HandleActionEnd(MxParam& p_param)
|
||||
delete ((MxEndActionNotificationParam&) p_param).GetSender();
|
||||
}
|
||||
|
||||
if (((MxEndActionNotificationParam&) p_param).GetAction())
|
||||
{
|
||||
if (((MxEndActionNotificationParam&) p_param).GetAction()) {
|
||||
delete ((MxEndActionNotificationParam&) p_param).GetAction();
|
||||
}
|
||||
return 1;
|
||||
|
||||
@ -148,18 +148,15 @@ MxResult MxStreamer::DeleteObject(MxDSAction* p_dsAction)
|
||||
{
|
||||
MxDSAction tempAction;
|
||||
|
||||
if (p_dsAction == NULL)
|
||||
{
|
||||
if (p_dsAction == NULL) {
|
||||
tempAction.SetUnknown24(-2);
|
||||
}
|
||||
else
|
||||
{
|
||||
else {
|
||||
tempAction.SetObjectId(p_dsAction->GetObjectId());
|
||||
tempAction.SetAtomId(p_dsAction->GetAtomId());
|
||||
tempAction.SetUnknown24(p_dsAction->GetUnknown24());
|
||||
}
|
||||
|
||||
|
||||
// TODO: remove action from list
|
||||
return -1;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user