Match code

This commit is contained in:
Christian Semmler 2024-06-08 16:46:44 -04:00
parent 881961ae78
commit 43c41d904d

View File

@ -12,9 +12,10 @@ DECOMP_SIZE_ASSERT(Act2PoliceStation, 0x68)
MxLong Act2PoliceStation::Notify(MxParam& p_param)
{
if (((MxNotificationParam&) p_param).GetType() == c_notificationClick) {
NotificationManager()->Send(CurrentWorld(), MxNotificationParam(c_notificationType23, NULL));
MxNotificationParam param(c_notificationType23, NULL);
NotificationManager()->Send(CurrentWorld(), param);
return 1;
}
return -1;
return 0;
}