Improve match

This commit is contained in:
Christian Semmler 2024-02-02 10:59:30 -05:00
parent 777f1b64ac
commit 7996aab043
3 changed files with 8 additions and 16 deletions

View File

@ -74,7 +74,7 @@ class LegoEntityListCursor : public MxPtrListCursor<LegoEntity> {
// SYNTHETIC: LEGO1 0x1001f110
// LegoEntityListCursor::`scalar deleting destructor'
// FUNCTION: LEGO1 0x1001f180
// TEMPLATE: LEGO1 0x1001f180
// MxPtrListCursor<LegoEntity>::~MxPtrListCursor<LegoEntity>
// SYNTHETIC: LEGO1 0x1001f1d0
@ -83,7 +83,7 @@ class LegoEntityListCursor : public MxPtrListCursor<LegoEntity> {
// SYNTHETIC: LEGO1 0x1001f240
// MxPtrListCursor<LegoEntity>::`scalar deleting destructor'
// FUNCTION: LEGO1 0x1001f2b0
// TEMPLATE: LEGO1 0x1001f2b0
// MxListCursor<LegoEntity *>::~MxListCursor<LegoEntity *>
// FUNCTION: LEGO1 0x1001f300

View File

@ -79,7 +79,7 @@ class LegoPathControllerListCursor : public MxPtrListCursor<LegoPathController>
// SYNTHETIC: LEGO1 0x1001f830
// LegoPathControllerListCursor::`scalar deleting destructor'
// FUNCTION: LEGO1 0x1001f8a0
// TEMPLATE: LEGO1 0x1001f8a0
// MxPtrListCursor<LegoPathController>::~MxPtrListCursor<LegoPathController>
// SYNTHETIC: LEGO1 0x1001f8f0
@ -88,9 +88,10 @@ class LegoPathControllerListCursor : public MxPtrListCursor<LegoPathController>
// SYNTHETIC: LEGO1 0x1001f960
// MxPtrListCursor<LegoPathController>::`scalar deleting destructor'
// FUNCTION: LEGO1 0x1001f9d0
// TEMPLATE: LEGO1 0x1001f9d0
// MxListCursor<LegoPathController *>::~MxListCursor<LegoPathController *>
// FUNCTION: LEGO1 0x1001fa20
// LegoPathControllerListCursor::~LegoPathControllerListCursor
#endif // LEGOPATHCONTROLLERLIST_H

View File

@ -568,15 +568,9 @@ void LegoWorld::VTable0x68(MxBool p_und)
GameState()->FUN_10039940();
SetIsWorldActive(TRUE);
return;
}
if (p_und)
return;
}
if (m_set0xd0.empty()) {
else if (m_set0xd0.empty()) {
IslePathActor* vehicle = CurrentVehicle();
if (vehicle) {
@ -602,11 +596,8 @@ void LegoWorld::VTable0x68(MxBool p_und)
}
for (MxCoreSet::iterator it = m_set0xa8.begin(); it != m_set0xa8.end(); it++) {
if ((*it)->IsA("LegoActionControlPresenter")) {
m_set0xd0.insert(*it);
((MxPresenter*) *it)->Enable(FALSE);
}
else if ((*it)->IsA("MxPresenter") && ((MxPresenter*) *it)->IsEnabled()) {
if ((*it)->IsA("LegoActionControlPresenter") ||
((*it)->IsA("MxPresenter") && ((MxPresenter*) *it)->IsEnabled())) {
m_set0xd0.insert(*it);
((MxPresenter*) *it)->Enable(FALSE);
}