mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 08:24:16 +00:00
Improve Isle::Enable and LegoAct2::Enable matches (#1179)
This commit is contained in:

committed by
GitHub

parent
e8e457f01a
commit
c0965039d1
@@ -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;
|
||||
}
|
||||
|
||||
|
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user