mirror of
https://github.com/isledecomp/isle.git
synced 2026-01-28 18:51:16 +00:00
Match
This commit is contained in:
parent
7996aab043
commit
faf1aa422f
@ -537,14 +537,13 @@ void LegoWorld::VTable0x68(MxBool p_und)
|
||||
}
|
||||
|
||||
while (!m_set0xd0.empty()) {
|
||||
MxCoreSet::iterator it = m_set0xa8.begin();
|
||||
MxCore* object = *it;
|
||||
MxCoreSet::iterator it = m_set0xd0.begin();
|
||||
|
||||
if (object->IsA("MxPresenter")) {
|
||||
((MxPresenter*) object)->Enable(TRUE);
|
||||
if ((*it)->IsA("MxPresenter")) {
|
||||
((MxPresenter*) *it)->Enable(TRUE);
|
||||
}
|
||||
else if (object->IsA("LegoPathController")) {
|
||||
((LegoPathController*) object)->Enable(TRUE);
|
||||
else if ((*it)->IsA("LegoPathController")) {
|
||||
((LegoPathController*) *it)->Enable(TRUE);
|
||||
}
|
||||
|
||||
m_set0xd0.erase(it);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user