ElevatorBottom destructor

This commit is contained in:
Joshua Peisach 2024-01-14 12:44:29 -05:00
parent 7777e6cd40
commit 79a4918170
No known key found for this signature in database
GPG Key ID: 41C3D4189AFEDB5A

View File

@ -2,6 +2,9 @@
DECOMP_SIZE_ASSERT(ElevatorBottom, 0xfc)
#include "legocontrolmanager.h"
#include "legoinputmanager.h"
#include "legoomni.h"
#include "mxnotificationmanager.h"
#include "mxomni.h"
@ -12,10 +15,14 @@ ElevatorBottom::ElevatorBottom()
this->m_unk0xf8 = 0;
}
// STUB: LEGO1 0x10018060
// FUNCTION: LEGO1 0x10018060
ElevatorBottom::~ElevatorBottom()
{
// TODO
if (InputManager()->m_world == this) {
InputManager()->ClearWorld();
}
ControlManager()->Unregister(this);
NotificationManager()->Unregister(this);
}
// STUB: LEGO1 0x10018150