mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Implement LegoWorld::Enable (#516)
* WIP VTable0x68 * Improve match * Match * Fix * Fix * Move vars * Match * Add call to Isle * Rename functions * Fix style
This commit is contained in:

committed by
GitHub

parent
a7acf8c607
commit
558bda4dd2
@@ -116,11 +116,11 @@ MxLong ElevatorBottom::HandleClick(LegoControlManagerEvent& p_param)
|
||||
}
|
||||
|
||||
// FUNCTION: LEGO1 0x100182c0
|
||||
void ElevatorBottom::VTable0x68(MxBool p_add)
|
||||
void ElevatorBottom::Enable(MxBool p_enable)
|
||||
{
|
||||
LegoWorld::VTable0x68(p_add);
|
||||
LegoWorld::Enable(p_enable);
|
||||
|
||||
if (p_add) {
|
||||
if (p_enable) {
|
||||
InputManager()->SetWorld(this);
|
||||
SetIsWorldActive(FALSE);
|
||||
}
|
||||
|
Reference in New Issue
Block a user