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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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;
}