mirror of
https://github.com/isledecomp/isle.git
synced 2026-02-01 20:51:15 +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()) {
|
while (!m_set0xd0.empty()) {
|
||||||
MxCoreSet::iterator it = m_set0xa8.begin();
|
MxCoreSet::iterator it = m_set0xd0.begin();
|
||||||
MxCore* object = *it;
|
|
||||||
|
|
||||||
if (object->IsA("MxPresenter")) {
|
if ((*it)->IsA("MxPresenter")) {
|
||||||
((MxPresenter*) object)->Enable(TRUE);
|
((MxPresenter*) *it)->Enable(TRUE);
|
||||||
}
|
}
|
||||||
else if (object->IsA("LegoPathController")) {
|
else if ((*it)->IsA("LegoPathController")) {
|
||||||
((LegoPathController*) object)->Enable(TRUE);
|
((LegoPathController*) *it)->Enable(TRUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_set0xd0.erase(it);
|
m_set0xd0.erase(it);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user