Improve Isle::Enable and LegoAct2::Enable matches

This commit is contained in:
Christian Semmler 2024-11-29 14:39:43 -07:00
parent e8e457f01a
commit 544b542f6e
2 changed files with 2 additions and 2 deletions

View File

@ -532,7 +532,7 @@ MxLong Isle::HandlePathStruct(LegoPathStructNotificationParam& p_param)
// FUNCTION: BETA10 0x10034158
void Isle::Enable(MxBool p_enable)
{
if (m_set0xd0.empty() == p_enable) {
if ((MxBool) m_set0xd0.empty() == p_enable) {
return;
}

View File

@ -352,7 +352,7 @@ void LegoAct2::ReadyWorld()
// FUNCTION: BETA10 0x1003bb2d
void LegoAct2::Enable(MxBool p_enable)
{
if (m_set0xd0.empty() == p_enable) {
if ((MxBool) m_set0xd0.empty() == p_enable) {
return;
}