don't compare m_unk0x128 against char

This commit is contained in:
Ramen2X 2024-03-20 15:13:50 -04:00 committed by GitHub
parent 0748d711e5
commit 48943e50fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -352,14 +352,14 @@ MxLong Hospital::HandleEndAction(MxEndActionNotificationParam& p_param)
act1State = (Act1State*) GameState()->GetState("Act1State");
act1State->SetUnknown18(9);
case 14:
if (m_unk0x128 == '\0') {
if (m_unk0x128 == 0) {
m_unk0x128 = 1;
m_destLocation = LegoGameState::e_unk31;
goto transitionToDestLocation;
}
break;
case 15:
if (m_unk0x128 == '\0') {
if (m_unk0x128 == 0) {
m_unk0x128 = 1;
m_destLocation = LegoGameState::e_infomain;