Improve Isle::Enable and LegoAct2::Enable matches (#1179)

This commit is contained in:
Christian Semmler
2024-11-29 14:45:57 -07:00
committed by GitHub
parent e8e457f01a
commit c0965039d1
2 changed files with 2 additions and 2 deletions

View File

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

View File

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